Thread (5 messages) flat view 5 messages, 3 authors, 2016-01-07

Re: [PATCH net-next] bpf: add skb_postpush_rcsum and fix dev_forward_skb occasions

From: kbuild test robot <hidden>
Date: 2016-01-07 03:23:26

Hi Daniel,

[auto build test ERROR on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Daniel-Borkmann/bpf-add-skb_postpush_rcsum-and-fix-dev_forward_skb-occasions/20160107-090423
config: x86_64-lkp (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   In file included from include/net/sch_generic.h:8:0,
                    from include/linux/filter.h:16,
                    from include/net/sock.h:64,
                    from include/net/inet_sock.h:27,
                    from include/net/ip.h:30,
                    from net/core/filter.c:34:
   net/core/filter.c: In function 'bpf_clone_redirect':
quoted
net/core/filter.c:1530:19: error: 'struct sk_buff' has no member named 'tc_verd'
      if (G_TC_AT(skb2->tc_verd) & AT_INGRESS)
                      ^
   include/uapi/linux/pkt_cls.h:11:25: note: in definition of macro '_TC_MAKE32'
    #define _TC_MAKE32(x) ((x))
                            ^
   include/uapi/linux/pkt_cls.h:54:26: note: in expansion of macro '_TC_GETVALUE'
    #define G_TC_AT(x)       _TC_GETVALUE(x,S_TC_AT,M_TC_AT)
                             ^
   net/core/filter.c:1530:7: note: in expansion of macro 'G_TC_AT'
      if (G_TC_AT(skb2->tc_verd) & AT_INGRESS)
          ^
   net/core/filter.c: In function 'skb_do_redirect':
   net/core/filter.c:1578:18: error: 'struct sk_buff' has no member named 'tc_verd'
      if (G_TC_AT(skb->tc_verd) & AT_INGRESS)
                     ^
   include/uapi/linux/pkt_cls.h:11:25: note: in definition of macro '_TC_MAKE32'
    #define _TC_MAKE32(x) ((x))
                            ^
   include/uapi/linux/pkt_cls.h:54:26: note: in expansion of macro '_TC_GETVALUE'
    #define G_TC_AT(x)       _TC_GETVALUE(x,S_TC_AT,M_TC_AT)
                             ^
   net/core/filter.c:1578:7: note: in expansion of macro 'G_TC_AT'
      if (G_TC_AT(skb->tc_verd) & AT_INGRESS)
          ^

vim +1530 net/core/filter.c

  1524	
  1525		skb2 = skb_clone(skb, GFP_ATOMIC);
  1526		if (unlikely(!skb2))
  1527			return -ENOMEM;
  1528	
  1529		if (BPF_IS_REDIRECT_INGRESS(flags)) {
1530			if (G_TC_AT(skb2->tc_verd) & AT_INGRESS)
  1531				skb_postpush_rcsum(skb2, skb_mac_header(skb2),
  1532						   skb2->mac_len);
  1533			return dev_forward_skb(dev, skb2);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help