aboutsummaryrefslogtreecommitdiff
path: root/net/dsa
diff options
context:
space:
mode:
authorJosef Bacik2017-01-19 17:47:46 -0500
committerDavid S. Miller2017-01-20 14:35:51 -0500
commit319554f284dda9f2737d09df82ba3610bd8ddea3 (patch)
tree7ea132a82c8010dc602d420da536db7e49c9bddc /net/dsa
parent7d982567f41e25a154b961c610303f23dfdd2820 (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>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions