From: Eric Dumazet Date: Wed, 26 Nov 2008 09:08:18 +0000 (-0800) Subject: net: release skb->dst in sock_queue_rcv_skb() X-Git-Tag: v2.6.29-rc1~581^2~386 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70355602879229c6f8bd694ec9c0814222bc4936;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed