]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: initialize the data_fin field for mpc packets
authorPaolo Abeni <pabeni@redhat.com>
Thu, 30 Apr 2020 13:01:55 +0000 (15:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Apr 2020 19:23:23 +0000 (12:23 -0700)
commita4d0ed0700a91082a269bc4169d30ac8547424f9
treed93b92a9e92fe3385663323b55747ad5104307aa
parent21734d51b9cb3b0f815b166963909ab331cc7164
mptcp: initialize the data_fin field for mpc packets

When parsing MPC+data packets we set the dss field, so
we must also initialize the data_fin, or we can find stray
value there.

Fixes: afd42354a2ed ("mptcp: fix data_fin handing in RX path")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/options.c