]> asedeno.scripts.mit.edu Git - linux.git/commit
tipc: don't assume linear buffer when reading ancillary data
authorJon Maloy <donmalo99@gmail.com>
Sat, 17 Nov 2018 17:17:06 +0000 (12:17 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Nov 2018 06:08:02 +0000 (22:08 -0800)
commit1c1274a56999fbdf9cf84e332b28448bb2d55221
treef549e0616634b586ea3f8eb5cd2ee0c26113b968
parentadba75be0d23cca92a028749d92c60c8909bbdb3
tipc: don't assume linear buffer when reading ancillary data

The code for reading ancillary data from a received buffer is assuming
the buffer is linear. To make this assumption true we have to linearize
the buffer before message data is read.

Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/socket.c