commit | 319554f284dda9f2737d09df82ba3610bd8ddea3 | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Thu Jan 19 17:47:46 2017 -0500 |
committer | David S. Miller <davem@davemloft.net> | Fri Jan 20 14:35:51 2017 -0500 |
tree | 7ea132a82c8010dc602d420da536db7e49c9bddc | |
parent | 7d982567f41e25a154b961c610303f23dfdd2820 [diff] |
inet: don't use sk_v6_rcv_saddr directly When comparing two sockets we need to use inet6_rcv_saddr so we get a NULL sk_v6_rcv_saddr if the socket isn't AF_INET6, otherwise our comparison function can be wrong. Fixes: 637bc8b ("inet: reset tb->fastreuseport when adding a reuseport sk") Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>