From: Jakub Kicinski <kuba@kernel.org>
To: zhangzl2013@126.com
Cc: Jay Vosburgh <jv@jvosburgh.net>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Paolo Abeni <pabeni@redhat.com>,
Hangbin Liu <liuhangbin@gmail.com>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
Qianheng Peng <pengqh1@chinatelecom.cn>,
Zhaolong Zhang <zhangzl68@chinatelecom.cn>
Subject: Re: [PATCH net] bonding: fix devconf_all NULL dereference when IPv6 is disabled
Date: Mon, 20 Jul 2026 18:18:22 -0700 [thread overview]
Message-ID: <20260720181822.20b0456b@kernel.org> (raw)
In-Reply-To: <20260707010622.487333-1-zhangzl2013@126.com>
On Tue, 7 Jul 2026 09:06:22 +0800 zhangzl2013@126.com wrote:
> When booting with the 'ipv6.disable=1' parameter, the devconf_all is
> never initialized because inet6_init() exits before addrconf_init() is
> called which initializes it. bond_send_validate(), however, will still
> call bond_ns_send_all() even ipv6 is indeed disabled. It will lead to
> NULL derefence of net->ipv6.devconf_all in ip6_pol_route().
Applied, thanks.
prev parent reply other threads:[~2026-07-21 1:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-07 1:06 [PATCH net] bonding: fix devconf_all NULL dereference when IPv6 is disabled zhangzl2013
2026-07-07 10:35 ` Vadim Fedorenko
2026-07-07 11:40 ` Hangbin Liu
2026-07-07 11:41 ` Hangbin Liu
2026-07-21 1:18 ` Jakub Kicinski [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=20260720181822.20b0456b@kernel.org \
--to=kuba@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=jv@jvosburgh.net \
--cc=linux-kernel@vger.kernel.org \
--cc=liuhangbin@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pengqh1@chinatelecom.cn \
--cc=zhangzl2013@126.com \
--cc=zhangzl68@chinatelecom.cn \
/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