summaryrefslogtreecommitdiffstats
path: root/include/net/tc_act/tc_skbedit.h
diff options
context:
space:
mode:
authorVegard Nossum2008-09-13 01:17:43 +0200
committerDavid S. Miller2008-09-13 01:17:43 +0200
commit78d15e82754945ee9821fb491b57faf43abfb9d7 (patch)
treeac5695ad20aafc333729f2392465645a580a8b8a /include/net/tc_act/tc_skbedit.h
parentnet: fix scheduling of dst_gc_task by __dst_free (diff)
downloadkernel-qcow2-linux-78d15e82754945ee9821fb491b57faf43abfb9d7.tar.gz
kernel-qcow2-linux-78d15e82754945ee9821fb491b57faf43abfb9d7.tar.xz
kernel-qcow2-linux-78d15e82754945ee9821fb491b57faf43abfb9d7.zip
tcp_ipv6: fix use of uninitialized memory
inet6_rsk() is called on a struct request_sock * before we have checked whether the socket is an ipv6 socket or a ipv6- mapped ipv4 socket. The access that triggers this is the inet_rsk(rsk)->inet6_rsk_offset dereference in inet6_rsk(). This is arguably not a critical error as the inet6_rsk_offset is only used to compute a pointer which is never really used (in the code path in question) anyway. But it might be a latent error, so let's fix it. Spotted by kmemcheck. Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com> Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tc_act/tc_skbedit.h')
0 files changed, 0 insertions, 0 deletions