[Devel] Re: [PATCH 0/2] netns: fix for NULL-dereference in ipv6 code

Vlad Yasevich vladislav.yasevich at hp.com
Thu Aug 14 13:17:07 PDT 2008


Brian Haley wrote:
> Hi,
> 
> When fixing the NULL-dereference of the idev in rt6_fill_node(), I
> noticed that dev_net() doesn't handle a NULL argument either.  These two
> patches fix that, as well as add a network namespace argument to
> rt6_fill_node() and ipv6_dev_get_saddr().

Brian

What is the reason that dev_net() would need to handle a NULL arg?

I think a NULL pointer in dev_net is a bug if Network Namespaces are used.

-vlad
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list