aboutsummaryrefslogtreecommitdiffstats
path: root/lib/find_next_bit.c
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2008-11-26 04:08:18 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-26 04:08:18 -0500
commit70355602879229c6f8bd694ec9c0814222bc4936 (patch)
treec970f5b6134fac0c8da11f20ae364c92ae80a8ad /lib/find_next_bit.c
parentdd24c00191d5e4a1ae896aafe33c6b8095ab4bd1 (diff)
net: release skb->dst in sock_queue_rcv_skb()
When queuing a skb to sk->sk_receive_queue, we can release its dst, not anymore needed. Since current cpu did the dst_hold(), refcount is probably still hot int this cpu caches. This avoids readers to access the original dst to decrement its refcount, possibly a long time after packet reception. This should speedup UDP and RAW receive path. Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/find_next_bit.c')
0 files changed, 0 insertions, 0 deletions