aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2017-01-17 15:51:01 +0000
committerDavid S. Miller <[email protected]>2017-01-18 18:04:28 +0000
commitfe38d2a1c8bee0b3a0be40de5b621a28200612e5 (patch)
tree92321ea6c293c9cd282bb7930e860885bbe96419 /net/ipv6/tcp_ipv6.c
parentstmicro: add more information to Kconfig (diff)
downloadkernel-fe38d2a1c8bee0b3a0be40de5b621a28200612e5.tar.gz
kernel-fe38d2a1c8bee0b3a0be40de5b621a28200612e5.zip
inet: collapse ipv4/v6 rcv_saddr_equal functions into one
We pass these per-protocol equal functions around in various places, but we can just have one function that checks the sk->sk_family and then do the right comparison function. I've also changed the ipv4 version to not cast to inet_sock since it is unneeded. Signed-off-by: Josef Bacik <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions