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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 15 May 2018 14:34:25 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Willem de Bruijn <willemdebruijn.kernel@...il.com>
Cc:     kbuild-all@...org, netdev@...r.kernel.org, davem@...emloft.net,
        Willem de Bruijn <willemb@...gle.com>,
        Alexander Duyck <alexander.duyck@...il.com>
Subject: Re: [PATCH net-next 2/3] gso: limit udp gso to egress-only virtual
 devices

Hi Willem,

Thank you for the patch! Yet something to improve:

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

url:    https://github.com/0day-ci/linux/commits/Willem-de-Bruijn/udp-gso-fixes/20180515-120246
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   drivers/net//team/team.c: In function '__team_compute_features':
>> drivers/net//team/team.c:1030:10: error: 'NETIF_GSO_UDP_L4' undeclared (first use in this function); did you mean 'NETIF_F_GSO_UDP_L4'?
             NETIF_GSO_UDP_L4;
             ^~~~~~~~~~~~~~~~
             NETIF_F_GSO_UDP_L4
   drivers/net//team/team.c:1030:10: note: each undeclared identifier is reported only once for each function it appears in

vim +1030 drivers/net//team/team.c

   996	
   997	#define TEAM_VLAN_FEATURES (NETIF_F_HW_CSUM | NETIF_F_SG | \
   998				    NETIF_F_FRAGLIST | NETIF_F_ALL_TSO | \
   999				    NETIF_F_HIGHDMA | NETIF_F_LRO)
  1000	
  1001	#define TEAM_ENC_FEATURES	(NETIF_F_HW_CSUM | NETIF_F_SG | \
  1002					 NETIF_F_RXCSUM | NETIF_F_ALL_TSO)
  1003	
  1004	static void __team_compute_features(struct team *team)
  1005	{
  1006		struct team_port *port;
  1007		u32 vlan_features = TEAM_VLAN_FEATURES & NETIF_F_ALL_FOR_ALL;
  1008		netdev_features_t enc_features  = TEAM_ENC_FEATURES;
  1009		unsigned short max_hard_header_len = ETH_HLEN;
  1010		unsigned int dst_release_flag = IFF_XMIT_DST_RELEASE |
  1011						IFF_XMIT_DST_RELEASE_PERM;
  1012	
  1013		list_for_each_entry(port, &team->port_list, list) {
  1014			vlan_features = netdev_increment_features(vlan_features,
  1015						port->dev->vlan_features,
  1016						TEAM_VLAN_FEATURES);
  1017			enc_features =
  1018				netdev_increment_features(enc_features,
  1019							  port->dev->hw_enc_features,
  1020							  TEAM_ENC_FEATURES);
  1021	
  1022	
  1023			dst_release_flag &= port->dev->priv_flags;
  1024			if (port->dev->hard_header_len > max_hard_header_len)
  1025				max_hard_header_len = port->dev->hard_header_len;
  1026		}
  1027	
  1028		team->dev->vlan_features = vlan_features;
  1029		team->dev->hw_enc_features = enc_features | NETIF_F_GSO_ENCAP_ALL |
> 1030					     NETIF_GSO_UDP_L4;
  1031		team->dev->hard_header_len = max_hard_header_len;
  1032	
  1033		team->dev->priv_flags &= ~IFF_XMIT_DST_RELEASE;
  1034		if (dst_release_flag == (IFF_XMIT_DST_RELEASE | IFF_XMIT_DST_RELEASE_PERM))
  1035			team->dev->priv_flags |= IFF_XMIT_DST_RELEASE;
  1036	}
  1037	

---
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/gzip" (52976 bytes)

Powered by blists - more mailing lists