You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Eric Dumazet
918eb39962
net: add missing bh_unlock_sock() calls
...
Simon Kirby reported lockdep warnings and following messages :
[104661.897577] huh, entered softirq 3 NET_RX ffffffff81613740
preempt_count 00000101, exited with 00000102?
[104661.923653] huh, entered softirq 3 NET_RX ffffffff81613740
preempt_count 00000101, exited with 00000102?
Problem comes from commit 0e734419
(ipv4: Use inet_csk_route_child_sock() in DCCP and TCP.)
If inet_csk_route_child_sock() returns NULL, we should release socket
lock before freeing it.
Another lock imbalance exists if __inet_inherit_port() returns an error
since commit 093d282321
( tproxy: fix hash locking issue when using
port redirection in __inet_inherit_port()) a backport is also needed for
>= 2.6.37 kernels.
Reported-by: Simon Kirby <sim@hostway.ca>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Tested-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Balazs Scheidler <bazsi@balabit.hu>
CC: KOVACS Krisztian <hidden@balabit.hu>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Simon Kirby <sim@hostway.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 years ago
..
netfilter
netfilter: Remove unnecessary OOM logging messages
13 years ago
Kconfig
…
Makefile
…
af_inet.c
ipv4: compat_ioctl is local to af_inet.c, make it static
13 years ago
ah4.c
…
arp.c
…
cipso_ipv4.c
cipso: remove an unneeded NULL check in cipso_v4_doi_add()
14 years ago
datagram.c
…
devinet.c
rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTER
14 years ago
esp4.c
…
fib_frontend.c
…
fib_lookup.h
…
fib_rules.c
…
fib_semantics.c
ipv4: Fix fib_info->fib_metrics leak
14 years ago
fib_trie.c
rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTER
14 years ago
gre.c
rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTER
14 years ago
icmp.c
net: more accurate skb truesize
14 years ago
igmp.c
Merge branch 'master' of github.com:davem330/net
14 years ago
inet_connection_sock.c
…
inet_diag.c
net-netlink: Add a new attribute to expose TOS values via netlink
14 years ago
inet_fragment.c
…
inet_hashtables.c
net: Compute protocol sequence numbers and fragment IDs using MD5.
14 years ago
inet_lro.c
net: add skb frag size accessors
14 years ago
inet_timewait_sock.c
ipv4: tcp: fix TOS value in ACK messages sent from TIME_WAIT
13 years ago
inetpeer.c
net: Compute protocol sequence numbers and fragment IDs using MD5.
14 years ago
ip_forward.c
…
ip_fragment.c
net: add skb frag size accessors
14 years ago
ip_gre.c
ip_gre: dont increase dev->needed_headroom on a live device
13 years ago
ip_input.c
…
ip_options.c
…
ip_output.c
ipv4: tcp: fix TOS value in ACK messages sent from TIME_WAIT
13 years ago
ip_sockglue.c
net: use INET_ECN_MASK instead of hardcoded 3
13 years ago
ipcomp.c
…
ipconfig.c
…
ipip.c
rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTER
14 years ago
ipmr.c
net: cleanup some rcu_dereference_raw
14 years ago
netfilter.c
netfilter: TCP and raw fix for ip_route_me_harder
14 years ago
ping.c
…
proc.c
tcp: Change possible SYN flooding messages
14 years ago
protocol.c
…
raw.c
ipv4: route non-local sources for raw socket
14 years ago
route.c
ipv4: avoid useless call of the function check_peer_pmtu
13 years ago
syncookies.c
tcp: add const qualifiers where possible
13 years ago
sysctl_net_ipv4.c
…
tcp.c
TCP: remove TCP_DEBUG
13 years ago
tcp_bic.c
…
tcp_cong.c
…
tcp_cubic.c
…
tcp_diag.c
…
tcp_highspeed.c
…
tcp_htcp.c
…
tcp_hybla.c
…
tcp_illinois.c
…
tcp_input.c
tcp: add const qualifiers where possible
13 years ago
tcp_ipv4.c
net: add missing bh_unlock_sock() calls
13 years ago
tcp_lp.c
…
tcp_minisocks.c
ipv6: tcp: fix TCLASS value in ACK messages sent from TIME_WAIT
13 years ago
tcp_output.c
tcp: add const qualifiers where possible
13 years ago
tcp_probe.c
…
tcp_scalable.c
…
tcp_timer.c
TCP: remove TCP_DEBUG
13 years ago
tcp_vegas.c
…
tcp_vegas.h
…
tcp_veno.c
…
tcp_westwood.c
…
tcp_yeah.c
…
tunnel4.c
…
udp.c
udp: fix a race in encap_rcv handling
13 years ago
udp_impl.h
…
udplite.c
net: make the tcp and udp file_operations for the /proc stuff const
13 years ago
xfrm4_input.c
…
xfrm4_mode_beet.c
…
xfrm4_mode_transport.c
…
xfrm4_mode_tunnel.c
…
xfrm4_output.c
…
xfrm4_policy.c
ipv4: fix ipsec forward performance regression
13 years ago
xfrm4_state.c
…
xfrm4_tunnel.c
…