Re: [PATCH net] tcp: md5: release request socket instead of listener

2016-02-16 Thread David Miller
From: Eric Dumazet Date: Thu, 11 Feb 2016 22:50:29 -0800 > If tcp_v4_inbound_md5_hash() returns an error, we must release > the refcount on the request socket, not on the listener. > > The bug was added for IPv4 only. > > Fixes: 079096f103fac ("tcp/dccp: install syn_recv

[PATCH net] tcp: md5: release request socket instead of listener

2016-02-11 Thread Eric Dumazet
If tcp_v4_inbound_md5_hash() returns an error, we must release the refcount on the request socket, not on the listener. The bug was added for IPv4 only. Fixes: 079096f103fac ("tcp/dccp: install syn_recv requests into ehash table") Signed-off-by: Eric Dumazet ---