lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <201510051053.L0S9UKIW%fengguang.wu@intel.com>
Date:	Mon, 5 Oct 2015 10:42:54 +0800
From:	kbuild test robot <fengguang.wu@...el.com>
To:	Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Cc:	kbuild-all@...org, netdev@...r.kernel.org
Subject: [net-next:master 630/633] net/bridge/br_netlink.c:1110:1: warning:
 the frame size of 2160 bytes is larger than 2048 bytes

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   3e087caa23ef36370bfb925d3bbca78e8302d3ce
commit: 7e4df51eb35deedd3ba8d4db92a6c36fb7eff90a [630/633] bridge: netlink: add support for igmp's intervals
config: x86_64-randconfig-s0-10051005 (attached as .config)
reproduce:
        git checkout 7e4df51eb35deedd3ba8d4db92a6c36fb7eff90a
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   net/bridge/br_netlink.c: In function 'br_fill_info':
>> net/bridge/br_netlink.c:1110:1: warning: the frame size of 2160 bytes is larger than 2048 bytes [-Wframe-larger-than=]
    }
    ^

vim +1110 net/bridge/br_netlink.c

7e4df51e Nikolay Aleksandrov 2015-10-04  1094  		return -EMSGSIZE;
7e4df51e Nikolay Aleksandrov 2015-10-04  1095  	clockval = jiffies_to_clock_t(br->multicast_querier_interval);
7e4df51e Nikolay Aleksandrov 2015-10-04  1096  	if (nla_put_u64(skb, IFLA_BR_MCAST_QUERIER_INTVL, clockval))
7e4df51e Nikolay Aleksandrov 2015-10-04  1097  		return -EMSGSIZE;
7e4df51e Nikolay Aleksandrov 2015-10-04  1098  	clockval = jiffies_to_clock_t(br->multicast_query_interval);
7e4df51e Nikolay Aleksandrov 2015-10-04  1099  	if (nla_put_u64(skb, IFLA_BR_MCAST_QUERY_INTVL, clockval))
7e4df51e Nikolay Aleksandrov 2015-10-04  1100  		return -EMSGSIZE;
7e4df51e Nikolay Aleksandrov 2015-10-04  1101  	clockval = jiffies_to_clock_t(br->multicast_query_response_interval);
7e4df51e Nikolay Aleksandrov 2015-10-04  1102  	if (nla_put_u64(skb, IFLA_BR_MCAST_QUERY_RESPONSE_INTVL, clockval))
7e4df51e Nikolay Aleksandrov 2015-10-04  1103  		return -EMSGSIZE;
7e4df51e Nikolay Aleksandrov 2015-10-04  1104  	clockval = jiffies_to_clock_t(br->multicast_startup_query_interval);
7e4df51e Nikolay Aleksandrov 2015-10-04  1105  	if (nla_put_u64(skb, IFLA_BR_MCAST_STARTUP_QUERY_INTVL, clockval))
7e4df51e Nikolay Aleksandrov 2015-10-04  1106  		return -EMSGSIZE;
a9a6bc70 Nikolay Aleksandrov 2015-10-04  1107  #endif
a9a6bc70 Nikolay Aleksandrov 2015-10-04  1108  
e5c3ea5c Jiri Pirko          2014-09-05  1109  	return 0;
e5c3ea5c Jiri Pirko          2014-09-05 @1110  }
e5c3ea5c Jiri Pirko          2014-09-05  1111  
fed0a159 Roopa Prabhu        2015-02-25  1112  static size_t br_get_link_af_size(const struct net_device *dev)
fed0a159 Roopa Prabhu        2015-02-25  1113  {
2594e906 Nikolay Aleksandrov 2015-09-25  1114  	struct net_bridge_port *p;
2594e906 Nikolay Aleksandrov 2015-09-25  1115  	struct net_bridge *br;
2594e906 Nikolay Aleksandrov 2015-09-25  1116  	int num_vlans = 0;
fed0a159 Roopa Prabhu        2015-02-25  1117  
2594e906 Nikolay Aleksandrov 2015-09-25  1118  	if (br_port_exists(dev)) {

:::::: The code at line 1110 was first introduced by commit
:::::: e5c3ea5c668033b303e7ac835d7d91da32d97958 bridge: implement rtnl_link_ops->get_size and rtnl_link_ops->fill_info

:::::: TO: Jiri Pirko <jiri@...nulli.us>
:::::: CC: David S. Miller <davem@...emloft.net>

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

Download attachment ".config.gz" of type "application/octet-stream" (28319 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ