]> git.ipfire.org Git - thirdparty/kernel/stable.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)
commit534322ca3daf56a27c9712ae9b1fef4daede5516
treef4700b5a2d9e6f491e7dc9421be17ec507098579
parentd14c77e0b24f6d1394d9bd4c4ba629808b656baf
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