tcp: detecting the misuse of .sendpage for Slab objects
authorVasily Averin <vvs@virtuozzo.com>
Wed, 6 Mar 2019 11:10:22 +0000 (14:10 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Mar 2019 18:48:31 +0000 (10:48 -0800)
commita10674bf2406afc2554f9c7d31b2dc65d6a27fd9
tree2053f19e720f295530adc7ae0243394271a7a41e
parent7b8376237618e4ddbf71277c8da6b2e0c57f0f70
tcp: detecting the misuse of .sendpage for Slab objects

sendpage was not designed for processing of the Slab pages,
in some situations it can trigger BUG_ON on receiving side.

Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c