From: Pavel Emelyanov Date: Mon, 14 Apr 2008 05:31:32 +0000 (-0700) Subject: [NETNS][DCCPV6]: Don't pass NULL to ip6_dst_lookup. X-Git-Tag: v2.6.26-rc1~1138^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68d185980f70413b353df99cdf5e667510036668;p=pandora-kernel.git [NETNS][DCCPV6]: Don't pass NULL to ip6_dst_lookup. This call uses the sock to get the net to lookup the routing in. With CONFIG_NET_NS this code will OOPS, since the sk ptr is NULL. After looking inside the ip6_dst_lookup and drawing the analogy with respective ipv6 code, it seems, that the dccp ctl socket is a good candidate for the first argument. Signed-off-by: Pavel Emelyanov Acked-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- Reading git-diff-tree failed