Thread (22 messages) 22 messages, 4 authors, 2008-12-18

Re: [PATCH] net: release skb->dst in sock_queue_rcv_skb()

From: David Miller <davem@davemloft.net>
Date: 2008-11-26 00:23:03

From: Eric Dumazet <redacted>
Date: Wed, 26 Nov 2008 01:00:30 +0100
Hum... for a tcp connection, dst refcount should already be pinned
by a sk->sk_dst_cache. Maybe test refcount value, and if this value
is > 1, dont take a reference. (given rcu_read_lock() is done before
calling ip_rcv_finish())
Input route is different from output route.  sk->sk_dst_cache holds
the output route.  So I can't see how this can help here.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help