aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2012-07-29 21:06:13 +0000
committerDavid S. Miller <[email protected]>2012-07-30 21:53:21 +0000
commitcca32e4bf999a34ac08d959f351f2b30bcd02460 (patch)
tree7456e3d00b57ab353bb726219cec83b8b4d101ab /net/ipv4/tcp_ipv4.c
parenttun: Fix formatting. (diff)
downloadkernel-cca32e4bf999a34ac08d959f351f2b30bcd02460.tar.gz
kernel-cca32e4bf999a34ac08d959f351f2b30bcd02460.zip
net: TCP early demux cleanup
early_demux() handlers should be called in RCU context, and as we use skb_dst_set_noref(skb, dst), caller must not exit from RCU context before dst use (skb_dst(skb)) or release (skb_drop(dst)) Therefore, rcu_read_lock()/rcu_read_unlock() pairs around ->early_demux() are confusing and not needed : Protocol handlers are already in an RCU read lock section. (__netif_receive_skb() does the rcu_read_lock() ) Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions