]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: fix build due to missing tc_verd
authorAlexei Starovoitov <ast@plumgrid.com>
Thu, 4 Jun 2015 15:33:48 +0000 (08:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jun 2015 18:45:59 +0000 (11:45 -0700)
commitb4ffeba1258b04faf7e1749f519a099e083ee3ca
tree3678b8a8862df453af41b1baf106683e71083c26
parent54bf7f58272a271801a087803b1f847d847269b2
bpf: fix build due to missing tc_verd

fix build error:
net/core/filter.c: In function 'bpf_clone_redirect':
net/core/filter.c:1429:18: error: 'struct sk_buff' has no member named 'tc_verd'
  if (G_TC_AT(skb2->tc_verd) & AT_INGRESS)

Fixes: 1a55c3fd3f7f ("bpf: introduce bpf_clone_redirect() helper")
Reported-by: Or Gerlitz <gerlitz.or@gmail.com>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/filter.c