]> 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)
commit60a5468d0e83e597ac8a3216122edb562e9d7181
treef549e0616634b586ea3f8eb5cd2ee0c26113b968
parent75de37dde049ea509a94fb3c5cd917249660020d
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