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)
commit98e77438aed3cd3343cbb86825127b1d9d2bea33
treea26022d2d359c25096c39a59cdd01ecf6aea62bb
parent2d5b2c5ca0d3ebe707386b3add365496460cf918
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 dd23198e58cd35259dd09e8892bbdb90f1d57748

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