diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-04-13 22:31:32 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-13 22:31:32 -0700 |
commit | 68d185980f70413b353df99cdf5e667510036668 (patch) | |
tree | 3bbea21c14f6cd0f6feb28a66249bdeead9e3011 /include/net | |
parent | fc5f8580d31d52890f17526ea739b124bd4e56f4 (diff) | |
download | op-kernel-dev-68d185980f70413b353df99cdf5e667510036668.zip op-kernel-dev-68d185980f70413b353df99cdf5e667510036668.tar.gz |
[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 <xemul@openvz.org>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions