diff options
author | Tom Herbert <therbert@google.com> | 2014-03-24 18:34:47 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-26 15:58:20 -0400 |
commit | 61b905da33ae25edb6b9d2a5de21e34c3a77efe3 (patch) | |
tree | 74990d790d603e989210b0221703910d9beef4f1 /arch/s390 | |
parent | 4e2e865d959e095ab8f1a112e7952c9baa173d0a (diff) |
net: Rename skb->rxhash to skb->hash
The packet hash can be considered a property of the packet, not just
on RX path.
This patch changes name of rxhash and l4_rxhash skbuff fields to be
hash and l4_hash respectively. This includes changing uses of the
field in the code which don't call the access functions.
Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/net/bpf_jit_comp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/s390/net/bpf_jit_comp.c b/arch/s390/net/bpf_jit_comp.c index 708d60e40066..153f8f2cfd56 100644 --- a/arch/s390/net/bpf_jit_comp.c +++ b/arch/s390/net/bpf_jit_comp.c | |||
@@ -737,10 +737,10 @@ call_fn: /* lg %r1,<d(function)>(%r13) */ | |||
737 | /* icm %r5,3,<d(type)>(%r1) */ | 737 | /* icm %r5,3,<d(type)>(%r1) */ |
738 | EMIT4_DISP(0xbf531000, offsetof(struct net_device, type)); | 738 | EMIT4_DISP(0xbf531000, offsetof(struct net_device, type)); |
739 | break; | 739 | break; |
740 | case BPF_S_ANC_RXHASH: /* A = skb->rxhash */ | 740 | case BPF_S_ANC_RXHASH: /* A = skb->hash */ |
741 | BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, rxhash) != 4); | 741 | BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); |
742 | /* l %r5,<d(rxhash)>(%r2) */ | 742 | /* l %r5,<d(hash)>(%r2) */ |
743 | EMIT4_DISP(0x58502000, offsetof(struct sk_buff, rxhash)); | 743 | EMIT4_DISP(0x58502000, offsetof(struct sk_buff, hash)); |
744 | break; | 744 | break; |
745 | case BPF_S_ANC_VLAN_TAG: | 745 | case BPF_S_ANC_VLAN_TAG: |
746 | case BPF_S_ANC_VLAN_TAG_PRESENT: | 746 | case BPF_S_ANC_VLAN_TAG_PRESENT: |