mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [lunn:v5.18-rc4-stacked-bridges 2/2] net/bridge/br_input.c:45:7: error: no member named 'offload_fwd_mark' in 'struct sk_buff'
@ 2022-05-04  6:51 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-04  6:51 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: llvm, kbuild-all, linux-kernel

tree:   https://github.com/lunn/linux.git v5.18-rc4-stacked-bridges
head:   eab6004bc4f6b012db3b6e1fac75f4911662baf5
commit: eab6004bc4f6b012db3b6e1fac75f4911662baf5 [2/2] net: bridge: Clear offload_fwd_mark when passing frame up bridge interface.
config: x86_64-randconfig-a011-20220502 (https://download.01.org/0day-ci/archive/20220504/202205041436.UX6XOeS0-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 363b3a645a1e30011cc8da624f13dac5fd915628)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/lunn/linux/commit/eab6004bc4f6b012db3b6e1fac75f4911662baf5
        git remote add lunn https://github.com/lunn/linux.git
        git fetch --no-tags lunn v5.18-rc4-stacked-bridges
        git checkout eab6004bc4f6b012db3b6e1fac75f4911662baf5
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> net/bridge/br_input.c:45:7: error: no member named 'offload_fwd_mark' in 'struct sk_buff'
           skb->offload_fwd_mark = false;
           ~~~  ^
   1 error generated.


vim +45 net/bridge/br_input.c

    32	
    33	static int br_pass_frame_up(struct sk_buff *skb)
    34	{
    35		struct net_device *indev, *brdev = BR_INPUT_SKB_CB(skb)->brdev;
    36		struct net_bridge *br = netdev_priv(brdev);
    37		struct net_bridge_vlan_group *vg;
    38	
    39		dev_sw_netstats_rx_add(brdev, skb->len);
    40	
    41		vg = br_vlan_group_rcu(br);
    42	
    43		/* Reset the offload_fwd_mark because there could be a stacked bridge
    44		 * above. */
  > 45		skb->offload_fwd_mark = false;
    46	
    47		/* Bridge is just like any other port.  Make sure the
    48		 * packet is allowed except in promisc mode when someone
    49		 * may be running packet capture.
    50		 */
    51		if (!(brdev->flags & IFF_PROMISC) &&
    52		    !br_allowed_egress(vg, skb)) {
    53			kfree_skb(skb);
    54			return NET_RX_DROP;
    55		}
    56	
    57		indev = skb->dev;
    58		skb->dev = brdev;
    59		skb = br_handle_vlan(br, NULL, vg, skb);
    60		if (!skb)
    61			return NET_RX_DROP;
    62		/* update the multicast stats if the packet is IGMP/MLD */
    63		br_multicast_count(br, NULL, skb, br_multicast_igmp_type(skb),
    64				   BR_MCAST_DIR_TX);
    65	
    66		return NF_HOOK(NFPROTO_BRIDGE, NF_BR_LOCAL_IN,
    67			       dev_net(indev), NULL, skb, indev, NULL,
    68			       br_netif_receive_skb);
    69	}
    70	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-04  6:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-04  6:51 [lunn:v5.18-rc4-stacked-bridges 2/2] net/bridge/br_input.c:45:7: error: no member named 'offload_fwd_mark' in 'struct sk_buff' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®