Skip to content
Commit 700163db authored by Tom Parkin's avatar Tom Parkin Committed by David S. Miller
Browse files

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: default avatarTom Parkin <tparkin@katalix.com>
Signed-off-by: default avatarJames Chapman <jchapman@katalix.com>
Signed-off-by: default avatarChris Elston <celston@katalix.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8e72d37e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment