]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4/tcp: Pass dif and sdif to tcp_v4_inbound_md5_hash
authorDavid Ahern <dsahern@gmail.com>
Mon, 30 Dec 2019 22:14:27 +0000 (14:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jan 2020 23:51:22 +0000 (15:51 -0800)
commit0e6a26e954766da32767cc41193ccfa5b9a71fe7
treef4700b5a2d9e6f491e7dc9421be17ec507098579
parent07d9c60471ed9123bdd8a0f9d1617ad8d51962dd
ipv4/tcp: Pass dif and sdif to tcp_v4_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_v4_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/ipv4/tcp_ipv4.c