1
0
Fork 0
alistair23-linux/net/openvswitch
Tom Herbert 7539fadcb8 net: Add utility functions to clear rxhash
In several places 'skb->rxhash = 0' is being done to clear the
rxhash value in an skb.  This does not clear l4_rxhash which could
still be set so that the rxhash wouldn't be recalculated on subsequent
call to skb_get_rxhash.  This patch adds an explict function to clear
all the rxhash related information in the skb properly.

skb_clear_hash_if_not_l4 clears the rxhash only if it is not marked as
l4_rxhash.

Fixed up places where 'skb->rxhash = 0' was being called.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-12-17 16:36:21 -05:00
..
Kconfig openvswitch: Add SCTP support 2013-08-26 14:03:13 -07:00
Makefile openvswitch: Restructure datapath.c and flow.c 2013-10-03 18:16:47 -07:00
actions.c net: Add utility functions to clear rxhash 2013-12-17 16:36:21 -05:00
datapath.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-11-19 15:50:47 -08:00
datapath.h genetlink: pass family to functions using groups 2013-11-19 16:39:06 -05:00
dp_notify.c genetlink: make multicast groups const, prevent abuse 2013-11-19 16:39:06 -05:00
flow.c openvswitch: TCP flags matching support. 2013-11-01 18:43:45 -07:00
flow.h openvswitch: TCP flags matching support. 2013-11-01 18:43:45 -07:00
flow_netlink.c openvswitch: TCP flags matching support. 2013-11-01 18:43:45 -07:00
flow_netlink.h openvswitch: Restructure datapath.c and flow.c 2013-10-03 18:16:47 -07:00
flow_table.c net: ovs: use CRC32 accelerated flow hash if available 2013-12-17 14:27:17 -05:00
flow_table.h openvswitch: collect mega flow mask stats 2013-10-22 10:42:46 -07:00
vport-gre.c openvswitch: remove duplicated include from vport-gre.c 2013-09-23 13:36:31 -07:00
vport-internal_dev.c openvswitch: Enable all GSO features on internal port. 2013-11-01 18:17:50 -07:00
vport-internal_dev.h openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
vport-netdev.c openvswitch: fix vport-netdev unregister 2013-10-16 14:50:22 -07:00
vport-netdev.h openvswitch: fix vport-netdev unregister 2013-10-16 14:50:22 -07:00
vport-vxlan.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jesse/openvswitch 2013-11-04 16:25:04 -05:00
vport.c net: Explicitly initialize u64_stats_sync structures for lockdep 2013-11-06 12:40:25 +01:00
vport.h openvswitch: Add vxlan tunneling support. 2013-08-20 00:15:44 -07:00