From: David S. Miller Date: Fri, 20 May 2016 23:20:12 +0000 (-0400) Subject: Merge branch 'rds-conn-spamming' X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9a0351dfca14b44443a98c0cafe4de234d1ba469;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Merge branch 'rds-conn-spamming' Sowmini Varadhan says: ==================== RDS: TCP: connection spamming fixes We have been testing the RDS-TCP code with a connection spammer that sends incoming SYNs to the RDS listen port well after an rds-tcp connection has been established, and found a few race-windows that are fixed by this patch series. Patch 1 avoids a null pointer deref when an incoming SYN shows up when a netns is being dismantled, or when the rds-tcp module is being unloaded. Patch 2 addresses the case when a SYN is received after the connection arbitration algorithm has converged: the incoming SYN should not needlessly quiesce the transmit path, and it should not result in needless TCP connection resets due to re-execution of the connection arbitration logic. ==================== Signed-off-by: David S. Miller --- 9a0351dfca14b44443a98c0cafe4de234d1ba469