* [PATCH 0/2] netns: fix for NULL-dereference in ipv6 code
@ 2008-08-14 19:27 Brian Haley
2008-08-14 20:17 ` Vlad Yasevich
0 siblings, 1 reply; 2+ messages in thread
From: Brian Haley @ 2008-08-14 19:27 UTC (permalink / raw)
To: David Miller; +Cc: netdev, containers
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 0/2] netns: fix for NULL-dereference in ipv6 code
2008-08-14 19:27 [PATCH 0/2] netns: fix for NULL-dereference in ipv6 code Brian Haley
@ 2008-08-14 20:17 ` Vlad Yasevich
0 siblings, 0 replies; 2+ messages in thread
From: Vlad Yasevich @ 2008-08-14 20:17 UTC (permalink / raw)
To: Brian Haley; +Cc: David Miller, netdev, containers
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-14 20:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-14 19:27 [PATCH 0/2] netns: fix for NULL-dereference in ipv6 code Brian Haley
2008-08-14 20:17 ` Vlad Yasevich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).