]> git.baikalelectronics.ru Git - kernel.git/commit
l2tp: correctly handle ancillary data in the ip6 recv path
authorTom Parkin <tparkin@katalix.com>
Thu, 31 Jan 2013 01:02:26 +0000 (01:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jan 2013 18:53:09 +0000 (13:53 -0500)
commit59df63b35add4f2debfc6c26d48bc59e65449280
tree6de02acfc70fd2cb31af1fe4ce5ac1a96f076923
parentd7946239b5a794924869792af4cfe3a677ecf82a
l2tp: correctly handle ancillary data in the ip6 recv path

l2tp_ip6 is incorrectly using the IPv4-specific ip_cmsg_recv to handle
ancillary data.  This means that socket options such as IPV6_RECVPKTINFO are
not honoured in userspace.

Convert l2tp_ip6 to use the IPv6-specific handler.

Ref: net/ipv6/udp.c

Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: Chris Elston <celston@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_ip6.c