]> git.baikalelectronics.ru Git - kernel.git/commit
net: fix psock_fanout on sparc64
authorWillem de Bruijn <willemb@google.com>
Thu, 21 Mar 2013 18:10:03 +0000 (14:10 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Mar 2013 18:31:36 +0000 (14:31 -0400)
commit9cb107e1a08a4d986bb09e45ac6b3a2b82ec1b75
tree8844d59f60b08ba86bd60e7395e121d1b7e1385a
parent21b256f481eaa80c25055cb17bf8f7f990a77843
net: fix psock_fanout on sparc64

The packetsocket fanout test uses a packet ring. Use TPACKET_V2
instead of TPACKET_V1 to work around a known 32/64 bit issue in
the older ring that manifests on sparc64.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/psock_fanout.c