]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5deddfbd9ef46601e21b52f45c99b6953ee896e4
tree48185f0e8c5a0d220e33a98fe4ac9b323e25579e
parent2d7a7f2c99708dcee4e001fcfa1cec9fa2f82eea
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