Re: [PATCH nf v2] netfilter: xtables: avoid NFPROTO_UNSPEC where needed

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

 



Hi Florian,

kernel test robot noticed the following build errors:

[auto build test ERROR on netfilter-nf/main]

url:    https://github.com/intel-lab-lkp/linux/commits/Florian-Westphal/netfilter-xtables-avoid-NFPROTO_UNSPEC-where-needed/20241005-070222
base:   https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git main
patch link:    https://lore.kernel.org/r/20241004230134.75274-1-fw%40strlen.de
patch subject: [PATCH nf v2] netfilter: xtables: avoid NFPROTO_UNSPEC where needed
config: sh-randconfig-r071-20241006 (https://download.01.org/0day-ci/archive/20241006/202410061557.72ec7vqP-lkp@xxxxxxxxx/config)
compiler: sh4-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241006/202410061557.72ec7vqP-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410061557.72ec7vqP-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> net/netfilter/xt_connlimit.c:145:1: error: expected ',' or ';' before '}' token
     145 | };
         | ^


vim +145 net/netfilter/xt_connlimit.c

370786f9cfd430 Jan Engelhardt   2007-07-14  119  
c43803e262643c Florian Westphal 2024-10-05  120  static struct xt_match connlimit_mt_reg[] __read_mostly = {
c43803e262643c Florian Westphal 2024-10-05  121  	{
cc4fc022571376 Jan Engelhardt   2011-01-18  122  		.name       = "connlimit",
cc4fc022571376 Jan Engelhardt   2011-01-18  123  		.revision   = 1,
c43803e262643c Florian Westphal 2024-10-05  124  		.family     = NFPROTO_IPV4,
cc4fc022571376 Jan Engelhardt   2011-01-18  125  		.checkentry = connlimit_mt_check,
cc4fc022571376 Jan Engelhardt   2011-01-18  126  		.match      = connlimit_mt,
cc4fc022571376 Jan Engelhardt   2011-01-18  127  		.matchsize  = sizeof(struct xt_connlimit_info),
ec23189049651b Willem de Bruijn 2017-01-02  128  		.usersize   = offsetof(struct xt_connlimit_info, data),
cc4fc022571376 Jan Engelhardt   2011-01-18  129  		.destroy    = connlimit_mt_destroy,
cc4fc022571376 Jan Engelhardt   2011-01-18  130  		.me         = THIS_MODULE,
c43803e262643c Florian Westphal 2024-10-05  131  	},
c43803e262643c Florian Westphal 2024-10-05  132  #if IS_ENABLED(CONFIG_IP6_NF_IPTABLES)
c43803e262643c Florian Westphal 2024-10-05  133  	{
c43803e262643c Florian Westphal 2024-10-05  134  		.name       = "connlimit",
c43803e262643c Florian Westphal 2024-10-05  135  		.revision   = 1,
c43803e262643c Florian Westphal 2024-10-05  136  		.family     = NFPROTO_IPV6,
c43803e262643c Florian Westphal 2024-10-05  137  		.checkentry = connlimit_mt_check,
c43803e262643c Florian Westphal 2024-10-05  138  		.match      = connlimit_mt,
c43803e262643c Florian Westphal 2024-10-05  139  		.matchsize  = sizeof(struct xt_connlimit_info),
c43803e262643c Florian Westphal 2024-10-05  140  		.usersize   = offsetof(struct xt_connlimit_info, data),
c43803e262643c Florian Westphal 2024-10-05  141  		.destroy    = connlimit_mt_destroy,
c43803e262643c Florian Westphal 2024-10-05  142  		.me         = THIS_MODULE,
c43803e262643c Florian Westphal 2024-10-05  143  #endif
c43803e262643c Florian Westphal 2024-10-05  144  	}
370786f9cfd430 Jan Engelhardt   2007-07-14 @145  };
370786f9cfd430 Jan Engelhardt   2007-07-14  146  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




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

  Powered by Linux