[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081125.162303.68359899.davem@davemloft.net>
Date: Tue, 25 Nov 2008 16:23:03 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: andi@...stfloor.org, netdev@...r.kernel.org
Subject: Re: [PATCH] net: release skb->dst in sock_queue_rcv_skb()
From: Eric Dumazet <dada1@...mosbay.com>
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists