diff options
author | David S. Miller <davem@davemloft.net> | 2017-12-27 13:37:28 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-27 13:38:24 -0500 |
commit | 1f119f90382a017dd0dc27340e1c80b83aa3e9cd (patch) | |
tree | ad18de18bd14bf8b173a5f5ee48b53ee3c8c4a39 /net/rds/bind.c | |
parent | 3c1490913f3bcf750261649e7ffd62390187058c (diff) | |
parent | 66261da169263f90c431741886b90b0982dda981 (diff) | |
download | linux-1f119f90382a017dd0dc27340e1c80b83aa3e9cd.tar.bz2 |
Merge branch 'rds-bug-fixes'
Sowmini Varadhan says:
====================
rds bug fixes
Ran into pre-existing bugs when working on the fix for
https://www.spinics.net/lists/netdev/msg472849.html
The bugs fixed in this patchset are unrelated to the syzbot
failure (which I'm still testing and trying to reproduce) but
meanwhile, let's get these fixes out of the way.
V2: target net-next (rds:tcp patches have a dependancy on
changes that are in net-next, but not yet in net)
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/bind.c')
-rw-r--r-- | net/rds/bind.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rds/bind.c b/net/rds/bind.c index 75d43dc8e96b..5aa3a64aa4f0 100644 --- a/net/rds/bind.c +++ b/net/rds/bind.c @@ -114,6 +114,7 @@ static int rds_add_bound(struct rds_sock *rs, __be32 addr, __be16 *port) rs, &addr, (int)ntohs(*port)); break; } else { + rs->rs_bound_addr = 0; rds_sock_put(rs); ret = -ENOMEM; break; |