]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6/tcp: Pass dif and sdif to tcp_v6_inbound_md5_hash
authorDavid Ahern <dsahern@gmail.com>
Mon, 30 Dec 2019 22:14:26 +0000 (14:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jan 2020 23:51:22 +0000 (15:51 -0800)
commitc0ec0e19d99c355314e4a93c8acfa14d04ada94b
tree764915d921646d16eed901317d6f4fbc1a43bc97
parenta6e1c1ea85911c2dc9904d53ccb136e54f43f24f
ipv6/tcp: Pass dif and sdif to tcp_v6_inbound_md5_hash

The original ingress device index is saved to the cb space of the skb
and the cb is moved during tcp processing. Since tcp_v6_inbound_md5_hash
can be called before and after the cb move, pass dif and sdif to it so
the caller can save both prior to the cb move. Both are used by a later
patch.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/tcp_ipv6.c