Home Home > GIT Browse > SLE12-SP4-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-05-14 11:28:44 +0200
committerTakashi Iwai <tiwai@suse.de>2019-05-14 11:28:44 +0200
commit5661888210486dc4b4e2f211250d1d8cea84947f (patch)
tree6bdd84a6583e449bfa87531fc1682be28314a0a7
parent4c41057970bc32ecfaa11643f7e5e8dd78c0d484 (diff)
parentff1bb48c92f51772dd83daaee42403a95b575d0f (diff)
Merge branch 'users/mkubecek/SLE15/for-next' into SLE15
Pull net fix from Michal Kubecek suse-commit: fbd264216a5b5e9f8bca6f8c5ac03dd70f90127e
-rw-r--r--net/rds/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/tcp.c b/net/rds/tcp.c
index b598c81aef69..9bee2f9ca11e 100644
--- a/net/rds/tcp.c
+++ b/net/rds/tcp.c
@@ -509,7 +509,7 @@ static void rds_tcp_kill_sock(struct net *net)
list_for_each_entry_safe(tc, _tc, &rds_tcp_conn_list, t_tcp_node) {
struct net *c_net = read_pnet(&tc->t_cpath->cp_conn->c_net);
- if (net != c_net || !tc->t_sock)
+ if (net != c_net)
continue;
if (!list_has_conn(&tmp_list, tc->t_cpath->cp_conn)) {
list_move_tail(&tc->t_tcp_node, &tmp_list);