Revision 4e683f499a15cd777d3cb51aaebe48d72334c852 authored by David S. Miller on 23 September 2017, 03:33:18 UTC, committed by David S. Miller on 23 September 2017, 03:33:18 UTC
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>
2 parent s 581fe0e + fbed24b
History
File Mode Size
Kconfig -rw-r--r-- 614 bytes
Makefile -rw-r--r-- 191 bytes
af_smc.c -rw-r--r-- 34.5 KB
smc.h -rw-r--r-- 7.8 KB
smc_cdc.c -rw-r--r-- 8.6 KB
smc_cdc.h -rw-r--r-- 5.7 KB
smc_clc.c -rw-r--r-- 8.6 KB
smc_clc.h -rw-r--r-- 3.9 KB
smc_close.c -rw-r--r-- 11.6 KB
smc_close.h -rw-r--r-- 678 bytes
smc_core.c -rw-r--r-- 18.6 KB
smc_core.h -rw-r--r-- 6.4 KB
smc_diag.c -rw-r--r-- 5.8 KB
smc_ib.c -rw-r--r-- 14.1 KB
smc_ib.h -rw-r--r-- 2.8 KB
smc_llc.c -rw-r--r-- 4.9 KB
smc_llc.h -rw-r--r-- 1.2 KB
smc_pnet.c -rw-r--r-- 12.5 KB
smc_pnet.h -rw-r--r-- 478 bytes
smc_rx.c -rw-r--r-- 6.2 KB
smc_rx.h -rw-r--r-- 433 bytes
smc_tx.c -rw-r--r-- 14.7 KB
smc_tx.h -rw-r--r-- 920 bytes
smc_wr.c -rw-r--r-- 17.8 KB
smc_wr.h -rw-r--r-- 3.3 KB

back to top