]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Fix ipv6_getsockopt for IPV6_2292PKTOPTIONS
authorDaniel Baluta <dbaluta@ixiacom.com>
Fri, 19 Aug 2011 10:19:07 +0000 (03:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Aug 2011 10:19:07 +0000 (03:19 -0700)
commit734915cb2faff342a551f30ab92640345d4a6fd5
treea26022d2d359c25096c39a59cdd01ecf6aea62bb
parent6bb84fa54cb4b42486a107716ebd67049274bb08
ipv6: Fix ipv6_getsockopt for IPV6_2292PKTOPTIONS

IPV6_2292PKTOPTIONS is broken for 32-bit applications running
in COMPAT mode on 64-bit kernels.

The same problem was fixed for IPv4 with the patch:
ipv4: Fix ip_getsockopt for IP_PKTOPTIONS,
commit 67bdd08258fc1a6820f5ac5d669195590fd1ddee

Signed-off-by: Sorin Dumitru <sdumitru@ixiacom.com>
Signed-off-by: Daniel Baluta <dbaluta@ixiacom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ipv6_sockglue.c