From: Dan Carpenter <dan.carpenter@oracle.com> To: Andrey Ignatov <rdna@fb.com> Cc: kernel-janitors@vger.kernel.org, Jakub Kicinski <kuba@kernel.org> Subject: Re: [bug report] rtnetlink: Return correct error on changing device netns Date: Tue, 31 Aug 2021 12:03:04 +0300 [thread overview] Message-ID: <20210831090304.GN12231@kadam> (raw) In-Reply-To: <YS3U7SwGhXVTdI1g@rdna-mbp.dhcp.thefacebook.com> Thanks. In theory, Smatch is supposed to be able to parse this correctly but do_setlink() is too complicated for Smatch. net/core/rtnetlink.c:2824 do_setlink() warn: Function too hairy. No more merges. So then the callers think that ifm->ifi_index is not used and they don't pass that information. It's hard to know how to fix this... regards, dan carpenter
prev parent reply other threads:[~2021-08-31 9:03 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-08-30 9:04 Dan Carpenter 2021-08-31 7:06 ` Andrey Ignatov 2021-08-31 9:03 ` Dan Carpenter [this message]
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=20210831090304.GN12231@kadam \ --to=dan.carpenter@oracle.com \ --cc=kernel-janitors@vger.kernel.org \ --cc=kuba@kernel.org \ --cc=rdna@fb.com \ --subject='Re: [bug report] rtnetlink: Return correct error on changing device netns' \ /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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).