]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/core/dev.c
net: Implement simple sw TX hashing.
authorDavid S. Miller <davem@davemloft.net>
Tue, 15 Jul 2008 10:47:03 +0000 (03:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jul 2008 02:21:13 +0000 (19:21 -0700)
commit8f0f2223cc08a5ae9a77f40edfe02e8a9f1abd77
tree48185f0e8c5a0d220e33a98fe4ac9b323e25579e
parent51cb6db0f5654f08a4a6bfa3888dc36a51c2df3e
net: Implement simple sw TX hashing.

It just xor hashes over IPv4/IPv6 addresses and ports of transport.

The only assumption it makes is that skb_network_header() is set
correctly.

With bug fixes from Eric Dumazet.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c