]> 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)
commit0105b05ede6d4cacc7901211b75a6bb95da5f2eb
treed7ff42f5bdbdf81bdbdb2efa92674afcbf88fc4b
parent159cca44278e8baf5dede95f812930cdaa570b8a
parentfeb02d46564b1b40e4a22246be1ed7f32f0beca1
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>