From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: Re: [RFC PATCH v2] net: bridge: igmp: Extend IGMP query to be per vlan
Date: Wed, 13 Jan 2021 16:43:14 +0800 [thread overview]
Message-ID: <202101131619.AbgBzOje-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4908 bytes --]
CC: kbuild-all(a)lists.01.org
In-Reply-To: <20210112135903.3730765-1-horatiu.vultur@microchip.com>
References: <20210112135903.3730765-1-horatiu.vultur@microchip.com>
TO: Horatiu Vultur <horatiu.vultur@microchip.com>
Hi Horatiu,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on net-next/master]
[also build test WARNING on net/master linus/master v5.11-rc3 next-20210113]
[cannot apply to sparc-next/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Horatiu-Vultur/net-bridge-igmp-Extend-IGMP-query-to-be-per-vlan/20210112-220655
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git c73a45965dd54a10c368191804b9de661eee1007
:::::: branch date: 19 hours ago
:::::: commit date: 19 hours ago
config: i386-randconfig-m021-20210113 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch warnings:
net/bridge/br_multicast.c:3866 br_multicast_set_querier() error: we previously assumed 'query' could be null (see line 3850)
net/bridge/br_multicast.c:3866 br_multicast_set_querier() warn: maybe use && instead of &
vim +/query +3866 net/bridge/br_multicast.c
0912bda436388a02 Yotam Gigi 2017-10-09 3832
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3833 int br_multicast_set_querier(struct net_bridge *br, unsigned long val, u16 vid)
c5c23260594c5701 Herbert Xu 2012-04-13 3834 {
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3835 struct bridge_mcast_other_query *other_query;
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3836 struct bridge_mcast_own_query *query;
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3837 struct net_bridge_vlan_group *vg;
b00589af3b047363 Linus Lüssing 2013-08-01 3838 unsigned long max_delay;
b00589af3b047363 Linus Lüssing 2013-08-01 3839
c5c23260594c5701 Herbert Xu 2012-04-13 3840 val = !!val;
c5c23260594c5701 Herbert Xu 2012-04-13 3841
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3842 if (vid == 0) {
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3843 vg = br_vlan_group(br);
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3844 if (vg)
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3845 vid = vg->pvid;
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3846 }
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3847
c5c23260594c5701 Herbert Xu 2012-04-13 3848 spin_lock_bh(&br->multicast_lock);
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3849 query = br_mcast_find_own_query(&br->ip4_own_queries, vid);
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 @3850 if (!query) {
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3851 if (br_vlan_enabled(br->dev))
c5c23260594c5701 Herbert Xu 2012-04-13 3852 goto unlock;
c5c23260594c5701 Herbert Xu 2012-04-13 3853
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3854 br_mcast_add_queries(br, vid);
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3855 }
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3856
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3857 other_query = br_mcast_find_other_query(&br->ip4_other_queries, vid);
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3858 if (!other_query)
b00589af3b047363 Linus Lüssing 2013-08-01 3859 goto unlock;
b00589af3b047363 Linus Lüssing 2013-08-01 3860
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3861 if (!val && query) {
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3862 br_multicast_stop_querier(br, query, vid);
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3863 goto unlock;
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3864 }
b00589af3b047363 Linus Lüssing 2013-08-01 3865
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 @3866 if (val & query->enabled)
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3867 goto unlock;
cc0fdd802859eaeb Linus Lüssing 2013-08-30 3868
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3869 query->enabled = true;
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3870
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3871 max_delay = br->multicast_query_response_interval;
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3872 if (!timer_pending(&other_query->timer))
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3873 other_query->delay_time = jiffies + max_delay;
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3874
8d72e3d611eb9514 Horatiu Vultur 2021-01-12 3875 br_multicast_start_querier(br, query, vid);
cc0fdd802859eaeb Linus Lüssing 2013-08-30 3876
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 33916 bytes --]
next reply other threads:[~2021-01-13 8:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-13 8:43 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-01-12 13:59 [RFC PATCH v2] net: bridge: igmp: Extend IGMP query to be per vlan Horatiu Vultur
2021-01-13 1:21 ` kernel test robot
2021-01-13 9:21 ` Dan Carpenter
2021-01-13 12:15 ` Nikolay Aleksandrov
2021-01-13 17:02 ` Horatiu Vultur
2021-01-16 15:39 ` Joachim Wiberg
2021-01-18 11:53 ` Nikolay Aleksandrov
2021-01-22 16:05 ` Joachim Wiberg
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=202101131619.AbgBzOje-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild@lists.01.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.