mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org
Subject: [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'
Date: Wed, 4 May 2022 14:51:28 +0800	[thread overview]
Message-ID: <202205041436.UX6XOeS0-lkp@intel.com> (raw)

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

                 reply	other threads:[~2022-05-04  6:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202205041436.UX6XOeS0-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andrew@lunn.ch \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®