diff options
| author | Josef Bacik <[email protected]> | 2017-01-19 22:47:46 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-01-20 19:35:51 +0000 |
| commit | 319554f284dda9f2737d09df82ba3610bd8ddea3 (patch) | |
| tree | 7ea132a82c8010dc602d420da536db7e49c9bddc /net/dsa/dsa.c | |
| parent | Merge tag 'mlx5-updates-2017-01-19' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
| download | kernel-319554f284dda9f2737d09df82ba3610bd8ddea3.tar.gz kernel-319554f284dda9f2737d09df82ba3610bd8ddea3.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions
