[nf-next:master 20/21] include/net/netfilter/nf_queue.h:16:23: error: field 'state' has incomplete type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
head:   223fd0adfa8af36d5d9b5d38016e579ee052f367
commit: 971502d77faa50a37c89bc6d172450294ad9a5fd [20/21] bridge: netfilter: unroll NF_HOOK helper in bridge input path
config: i386-randconfig-x014-201914 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 971502d77faa50a37c89bc6d172450294ad9a5fd
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from net//bridge/br_input.c:19:0:
>> include/net/netfilter/nf_queue.h:16:23: error: field 'state' has incomplete type
     struct nf_hook_state state;
                          ^~~~~

vim +/state +16 include/net/netfilter/nf_queue.h

97a2d41c4 Eric Leblond     2013-12-06   8  
c01cd429f Patrick McHardy  2007-12-05   9  /* Each queued (to userspace) skbuff has one of these. */
02f014d88 Patrick McHardy  2007-12-05  10  struct nf_queue_entry {
02f014d88 Patrick McHardy  2007-12-05  11  	struct list_head	list;
02f014d88 Patrick McHardy  2007-12-05  12  	struct sk_buff		*skb;
02f014d88 Patrick McHardy  2007-12-05  13  	unsigned int		id;
960632ece Aaron Conole     2017-08-24  14  	unsigned int		hook_index;	/* index in hook_entries->hook[] */
02f014d88 Patrick McHardy  2007-12-05  15  
1d1de89b9 David S. Miller  2015-04-03 @16  	struct nf_hook_state	state;
a5fedd43d Florian Westphal 2013-04-19  17  	u16			size; /* sizeof(entry) + saved route keys */
a5fedd43d Florian Westphal 2013-04-19  18  
a5fedd43d Florian Westphal 2013-04-19  19  	/* extra space to store route keys */
c01cd429f Patrick McHardy  2007-12-05  20  };
c01cd429f Patrick McHardy  2007-12-05  21  

:::::: The code at line 16 was first introduced by commit
:::::: 1d1de89b9a4746f1dd055a3b8d073dd2f962a3b6 netfilter: Use nf_hook_state in nf_queue_entry.

:::::: TO: David S. Miller <davem@xxxxxxxxxxxxx>
:::::: CC: David S. Miller <davem@xxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux