OSDN Git Service

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)
commitd14c77e0b24f6d1394d9bd4c4ba629808b656baf
tree764915d921646d16eed901317d6f4fbc1a43bc97
parentcea9760950a50fa13b6535fbaa6fa91223394431
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