]> www.infradead.org Git - users/willy/linux.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)
commita77895dbc0ad0400e377e8f26567820b3658e30e
treed93b92a9e92fe3385663323b55747ad5104307aa
parent5a91e32b40af86c790c4348aa3a5926a5c5fbc6d
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: 9a19371bf029 ("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