]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-fix-reuseaddr-regression'
authorDavid S. Miller <davem@davemloft.net>
Sat, 23 Sep 2017 03:33:18 +0000 (20:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Sep 2017 03:33:18 +0000 (20:33 -0700)
commitb116ac853a344689975049cc635ff93fc2dd7e2a
treed7ff42f5bdbdf81bdbdb2efa92674afcbf88fc4b
parentd759d109cd49d1914c68b053bfb846bfa449170f
parent0da7aed51d4a08c5f3c293e62fbad5dc59b58b5c
Merge branch 'net-fix-reuseaddr-regression'

Josef Bacik says:

====================
net: fix reuseaddr regression

I introduced a regression when reworking the fastreuse port stuff that allows
bind conflicts to occur once a reuseaddr successfully opens on an existing tb.
The root cause is I reversed an if statement which caused us to set the tb as if
there were no owners on the socket if there were, which obviously is not
correct.

Dave could you please queue these changes up for -stable, I've run them through
the net tests and added another test to check for this problem specifically.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>