]> git.baikalelectronics.ru Git - kernel.git/commit
net: Remove 'unlikely' qualifier in skb_steal_sock()
authorVijay Subramanian <subramanian.vijay@gmail.com>
Sun, 24 Jun 2012 13:03:07 +0000 (13:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jun 2012 23:08:36 +0000 (16:08 -0700)
commit71d8870864b052b94c75a22c54582bebb5b7d8a6
treeb1be53115d0986162941b8964dd3b642715c7681
parent46047f5eee199aa794a0791ea83680dd05cfc519
net: Remove 'unlikely' qualifier in skb_steal_sock()

With early demux enabled by default for TCP flows, there is high chance that
skb->sk will be non-null. 'unlikely()' was removed from __inet_lookup_skb() but
maybe it can be removed from skb_steal_sock() as well.

Note: skb_steal_sock() is also called by __inet6_lookup_skb() and
__udp4_lib_lookup_skb() but they are protected by their own 'unlikely' calls.

Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h