]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: implement MSG_TRUNC support
authorPaolo Abeni <pabeni@redhat.com>
Fri, 23 Apr 2021 18:17:06 +0000 (11:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Apr 2021 21:06:32 +0000 (14:06 -0700)
commit1600a12fb32f996da080dc2944f8bcc1a52d2280
tree1d6fedac55b77ebb739e9777819a25e9f98c1bda
parentc01948715c9585965f36cc8123be10b1148e8c01
mptcp: implement MSG_TRUNC support

The mentioned flag is currently silenlty ignored. This
change implements the TCP-like behaviour, dropping the
pending data up to the specified length.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Sigend-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c