aboutsummaryrefslogtreecommitdiffstats
path: root/net/caif
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2015-01-02 21:26:05 -0500
committerDavid S. Miller <davem@davemloft.net>2015-01-04 22:21:33 -0500
commit46b1e4f9115d48d17bb92f612e4fa45a521a0537 (patch)
treeedd0f79855de7b3c410af090e2d1a7790ab362d6 /net/caif
parentdf5dba8e52be50e615e03ef73b34611d82587f42 (diff)
geneve: Check family when reusing sockets.
When searching for an existing socket to reuse, the address family is not taken into account - only port number. This means that an IPv4 socket could be used for IPv6 traffic and vice versa, which is sure to cause problems when passing packets. It is not possible to trigger this problem currently because the only user of Geneve creates just IPv4 sockets. However, that is likely to change in the near future. Signed-off-by: Jesse Gross <jesse@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif')
0 files changed, 0 insertions, 0 deletions