]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tcp: md5: add an address prefix for key lookup
authorIvan Delalande <colona@arista.com>
Fri, 16 Jun 2017 01:07:06 +0000 (18:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Jun 2017 17:50:55 +0000 (13:50 -0400)
commit6797318e623da68dfbacd0cb5c246f5ecd2baf6e
tree64cb66cb77576371cd085f8208f86e2be91cb9db
parent910603818c6c0558fe9b5e056a3bd5195aaae1a5
tcp: md5: add an address prefix for key lookup

This allows the keys used for TCP MD5 signature to be used for whole
range of addresses, specified with a prefix length, instead of only one
address as it currently is.

Signed-off-by: Bob Gilligan <gilligan@arista.com>
Signed-off-by: Eric Mowat <mowat@arista.com>
Signed-off-by: Ivan Delalande <colona@arista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c