Re: [NET] IPv6 oops bisected

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Denis V. Lunev <den@...>
Cc: David Miller <davem@...>, <herbert@...>, <jeff@...>, <netdev@...>, <linux-kernel@...>, <akpm@...>, Pavel Emelyanov <xemul@...>
Date: Monday, October 8, 2007 - 12:02 pm

"Denis V. Lunev" <den@sw.ru> writes:


Denis. My original patch was fine.  That patch trivially replaced
loopback_dev with init_net.loopback_dev.   That only works for the
initial network namespace.  But until you allow multiple instances of
the network namespace into the ipv6 code the network namespace must
be init_net.

I agree hard coded the init_net.loopback_dev is not where we want to
end up but it does make a good intermediate step.  To allow simple and
stupid intermediate steps is why my original patchset very carefully
filtered every code path into the other layers of the network stack.

At a quick skim through that portion of the code. When we fully convert
it we want to add a network namespace parameter to struct fib6_config,
populate struct fib6_config from the socket that user space is using
to communicate with us.  Then in rt6_route_add and it's friends we
will have the information we need.

Further for the lower layers like ip6_fib.c struct flowi and struct
nl_info will also contain a network namespace parameter.  Which I
think is sufficient to get the network namespace information where
we need it for ipv6 routing.

So Denis do you think you could retry your original patch very
carefully one subsystem at a time instead of all across the entire
tree?

Eric
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[NET] IPv6 oops bisected, Jeff Garzik, (Sun Oct 7, 8:52 am)
Re: [NET] IPv6 oops bisected, Jeff Garzik, (Sun Oct 7, 9:33 am)
Re: [NET] IPv6 oops bisected, Denis V. Lunev, (Sun Oct 7, 9:49 am)
Re: [NET] IPv6 oops bisected, Jeff Garzik, (Sun Oct 7, 10:56 am)
Re: [NET] IPv6 oops bisected, David Miller, (Mon Oct 8, 2:16 am)
Re: [NET] IPv6 oops bisected, Herbert Xu, (Mon Oct 8, 2:19 am)
Re: [NET] IPv6 oops bisected, David Miller, (Mon Oct 8, 2:23 am)
Re: [NET] IPv6 oops bisected, Denis V. Lunev, (Mon Oct 8, 2:34 am)
Re: [NET] IPv6 oops bisected, David Miller, (Mon Oct 8, 2:46 am)
Re: [NET] IPv6 oops bisected, Denis V. Lunev, (Mon Oct 8, 3:00 am)
Re: [NET] IPv6 oops bisected, Eric W. Biederman, (Mon Oct 8, 12:02 pm)