Re: Disable IPv4
Brian Haley <[email protected]> Thu, 14 Apr 2011 15:05:44 -0400
| Newsgroups | gmane.linux.network.general |
|---|---|
| Organization | Open Source and Linux Organization |
| Message-ID | <[email protected]> |
On 04/14/2011 01:32 PM, Rose Price wrote:
First, please don't do this cut/paste inline responses, they are hard to follow.
>> You're talking about the module parameter here, correct?
>
> Yes I think, I was referring to the following code in ip6_input.c, and
> ip6_output.c, which may have changed,
>
> ipv6_rcv()
>
> if ((skb = skb_share_check(skb, GFP_ATOMIC)) == NULL ||
> !idev || unlikely(idev->cnf.disable_ipv6)) {<-------------------------------------------------------
That's the per-interface setting, which is inherited from the default.
I'm confused though, since your disable IPv6/IPv4 question comes from a
10,000 foot management view of the system, but you're looking down in
the details of the input/output routines... you first need to understand
how to disable before you can jump right into the code details.
Take a look at Documentation/networking/ip-sysctl.txt and ipv6.txt for
some notes on the settings.
-Brian
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html