All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Daniel Borkmann <daniel@iogearbox.net>
Cc: kbuild-all@01.org, davem@davemloft.net,
	alexei.starovoitov@gmail.com, netdev@vger.kernel.org,
	Daniel Borkmann <daniel@iogearbox.net>
Subject: Re: [PATCH net-next] bpf: add skb_postpush_rcsum and fix dev_forward_skb occasions
Date: Thu, 7 Jan 2016 11:22:22 +0800	[thread overview]
Message-ID: <201601071158.XIjinbYM%fengguang.wu@intel.com> (raw)
In-Reply-To: <02f04a0cd04748df932912bac36afeccc4ee7755.1452125392.git.daniel@iogearbox.net>

[-- Attachment #1: Type: text/plain, Size: 2508 bytes --]

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':
>> 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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 22219 bytes --]

  parent reply	other threads:[~2016-01-07  3:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-07  1:01 [PATCH net-next] bpf: add skb_postpush_rcsum and fix dev_forward_skb occasions Daniel Borkmann
2016-01-07  1:53 ` Hannes Frederic Sowa
2016-01-07 10:02   ` Daniel Borkmann
2016-01-07  3:22 ` kbuild test robot [this message]
2016-01-07  9:05   ` Daniel Borkmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201601071158.XIjinbYM%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=alexei.starovoitov@gmail.com \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=kbuild-all@01.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.