]> git.baikalelectronics.ru Git - kernel.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)
commit2adf912f95124c1194f5bd3d67962a40f4a3acff
treef549e0616634b586ea3f8eb5cd2ee0c26113b968
parent93d9da9d8345619df6c8b4f003fa854667404dba
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