[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151102.162917.316954656038063696.davem@davemloft.net>
Date: Mon, 02 Nov 2015 16:29:17 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: haiyangz@...rosoft.com, edumazet@...gle.com,
netdev@...r.kernel.org, kys@...rosoft.com
Subject: Re: [PATCH v2 net-next] net: make skb_set_owner_w() more robust
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Sun, 01 Nov 2015 15:36:55 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> skb_set_owner_w() is called from various places that assume
> skb->sk always point to a full blown socket (as it changes
> sk->sk_wmem_alloc)
>
> We'd like to attach skb to request sockets, and in the future
> to timewait sockets as well. For these kind of pseudo sockets,
> we need to take a traditional refcount and use sock_edemux()
> as the destructor.
>
> It is now time to un-inline skb_set_owner_w(), being too big.
>
> Fixes: ca6fb0651883 ("tcp: attach SYNACK messages to request sockets instead of listener")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Bisected-by: Haiyang Zhang <haiyangz@...rosoft.com>
Applied, thanks.
--
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