]> git.baikalelectronics.ru Git - kernel.git/commit
net: Get rid of IPv6 hash addresses flow keys
authorTom Herbert <tom@herbertland.com>
Thu, 4 Jun 2015 16:16:42 +0000 (09:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jun 2015 22:44:31 +0000 (15:44 -0700)
commit4f36a1b37d9b83fb5349d7398fc4dd6c76833b51
tree9c4f0012bffb2be16c171db828a0957c126f60de
parent068bac5fe6c408d4409a6fa5a5f7dfc2fac71b09
net: Get rid of IPv6 hash addresses flow keys

We don't need to return the IPv6 address hash as part of flow keys.
In general, using the IPv6 address hash is risky in a hash value
since the underlying use of xor provides no entropy. If someone
really needs the hash value they can get it from the full IPv6
addresses in flow keys (e.g. from flow_get_u32_src).

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_dissector.h
net/core/flow_dissector.c