From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sven Eckelmann Subject: Re: WARNING in batadv_is_on_batman_iface Date: Sun, 30 Dec 2018 12:00:12 +0100 Message-ID: <3100603.HWLWhOUWpG@sven-edge> References: <000000000000d89413057e3aeec2@google.com> Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1873944.72WfFfbkSa"; micalg="pgp-sha512"; protocol="application/pgp-signature" Cc: mareklindner-rVWd3aGhH2z5bpWLKbzFeg@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, b.a.t.m.a.n-ZwoEplunGu2X36UT3dwllkB+6BGkLq7r@public.gmane.org, a@unstable.cc, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, syzkaller-bugs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org To: syzbot Return-path: In-Reply-To: <000000000000d89413057e3aeec2-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: b.a.t.m.a.n-bounces-ZwoEplunGu2X36UT3dwllkB+6BGkLq7r@public.gmane.org Sender: "B.A.T.M.A.N" List-Id: netdev.vger.kernel.org --nextPart1873944.72WfFfbkSa Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Sunday, 30 December 2018 11.41.03 CET syzbot wrote: [...] > HEAD commit: d8924c0d76aa Merge tag 'devprop-4.21-rc1' of git://git.ker.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=122a373f400000 > kernel config: https://syzkaller.appspot.com/x/.config?x=91a256823ef17263 > dashboard link: https://syzkaller.appspot.com/bug?extid=c764de0fcfadca9a8595 > compiler: gcc (GCC) 8.0.1 20180413 (experimental) > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16fd1d67400000 > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > Reported-by: syzbot+c764de0fcfadca9a8595-Pl5Pbv+GP7P466ipTTIvnc23WoclnBCfAL8bYrjMMd8@public.gmane.org What is the bug here? The kernel module showed a warning because the parent device cannot be found in the same netns using __dev_get_by_index. The test system was just configured to panic on warnings. So are we now expected to show warnings or what is the expected behavior? This behavior was added with commit b7eddd0b3950 ("batman-adv: prevent using any virtual device created on batman-adv as hard-interface") - 3d48811b27f5 in the out-of-tree module. Kind regards, Sven [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b7eddd0b3950ea9dc863f1cbfa30d172dbf772f4 --nextPart1873944.72WfFfbkSa Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEF10rh2Elc9zjMuACXYcKB8Eme0YFAlwopTwACgkQXYcKB8Em e0YQMBAAltYX12JxNeyzwU/NpF0YYohNL71mWTCotYpuPntVwfcUHt8iJzdWTMed F45oQfZXtt2M9ruWxf5PuFbDLhOipHuMT49eGKrKSmBn8P3LAZrQ3LLBhp7wOwU+ o9ueQy39Y7qbnbc+Xw4efv6Mg82MjVXDWpmLTc9EEjg6v5JImkmGIUg+cUrWtlrs zAEVHvivGWDOhDNFWHrqKPhQl37nIl5ejkSC7VxDRsRzOnT8j+PG7UyUkYOW2XmI UrySPu/ZycG94xze37bvWN+z5ta63QvpIPiTtmyiqN0PEgtrbM0xaMtfB53qdqt6 oBFJVs+VKH6ojcybbIK+LTD3Aj8BIBPaQP4NmcB2B6K8a/7v4wiuf40dXTgj2Bj3 I0XJ2QJZgdYmMtkvvyNHaY29QPvd+Pww+6ynSRL9hS7Ol4PGJ6nasJPH91k/ve6E MgEIibTKM25Qp9rmLoaNnTv4d4xBmh0gcDeSaOdt3kRjf5l8r/o6lNfolepKoDvz AxhpilApMsTrFLsbDeTeH/NERK2rcZaZyWeFOjAQoz8cGU+OyM6L924NFGmmGCbP rukjTuP1Wj2Bb2pYV5QsBnV4t8LWOXca+VhK2CQ+/pGAnVym4g2SjWi0jeAS9O6W MG7gIAZFRoMQLNx2y2cwTjeN8tKjakuFi0IRHMrbiSVyl1SvqJg= =r+Bq -----END PGP SIGNATURE----- --nextPart1873944.72WfFfbkSa--