From: David Miller <davem@davemloft.net>
To: anish@chelsio.com
Cc: netdev@vger.kernel.org, hch@infradead.org, kxie@chelsio.com,
manojmalviya@chelsio.com, jim.epost@gmail.com,
sfr@canb.auug.org.au
Subject: Re: [PATCH net-next] libcxgbi/cxgb4i : Fix ipv6 build failure caught with randconfig
Date: Tue, 12 Aug 2014 15:46:52 -0700 (PDT) [thread overview]
Message-ID: <20140812.154652.1490202340036045493.davem@davemloft.net> (raw)
In-Reply-To: <525DB349B3FB5444AE057A887CB2A8D859F81B@nice.asicdesigners.com>
From: Anish Bhatt <anish@chelsio.com>
Date: Tue, 12 Aug 2014 22:40:35 +0000
> So the recommended fix would be that the inbuilt option for cxgbi
> should be disabled if ipv6 is compiled as a module ?
If IPV6 is enabled, you should only allow cxgbi to be enabled in
a mode which is "compatible" with that setting.
This means if IPV6 is enabled statically, cxgbi should be offered
both statically and modular. Whereas if IPV6 is modular, cxgbi
should only be offered to be enabled modular.
This occurs often enough that there is a common pattern for this
kind of dependency:
depends on IPV6 || IPV6=n
Alternatively, depending upon what IPV6 interfaces you need to use
in the cxgbi driver, you can potentially move them into the ipv6
components we've split out to always be statically built into the
kernel in order to avoid problems of this nature. See the code
linked in by the "obj-y +=" rule in net/ipv6/Makefile.
> This patch was based on code currently in net-next, and I presumed that would
> be the correct way to go. I'll change it and rebase to net.
The net-next tree isn't even open and active at this time, I said last week
(as I do every single merge window) that I would explicitly announce on
netdev when the net-next tree is openned.
But, much more importantly, bug fixes for issues present in 'net'
should always be targetted to the 'net' tree.
next prev parent reply other threads:[~2014-08-12 22:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-12 21:54 [PATCH net-next] libcxgbi/cxgb4i : Fix ipv6 build failure caught with randconfig Anish Bhatt
2014-08-12 22:00 ` David Miller
2014-08-12 22:22 ` David Miller
2014-08-12 22:40 ` Anish Bhatt
2014-08-12 22:46 ` David Miller [this message]
2014-08-12 22:54 ` Anish Bhatt
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=20140812.154652.1490202340036045493.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=anish@chelsio.com \
--cc=hch@infradead.org \
--cc=jim.epost@gmail.com \
--cc=kxie@chelsio.com \
--cc=manojmalviya@chelsio.com \
--cc=netdev@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
/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