From: Denis V. Lunev Date: Wed, 1 Oct 2008 09:13:16 +0000 (-0700) Subject: ipv6: NULL pointer dereferrence in tcp_v6_send_ack X-Git-Tag: v2.6.27-rc9~49^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a5b82751f73a0bf6f604ce56d34adba6da1b246;p=pandora-kernel.git ipv6: NULL pointer dereferrence in tcp_v6_send_ack The following actions are possible: tcp_v6_rcv skb->dev = NULL; tcp_v6_do_rcv tcp_v6_hnd_req tcp_check_req req->rsk_ops->send_ack == tcp_v6_send_ack So, skb->dev can be NULL in tcp_v6_send_ack. We must obtain namespace from dst entry. Thanks to Vitaliy Gusev for initial problem finding in IPv4 code. Signed-off-by: Denis V. Lunev Signed-off-by: David S. Miller --- Reading git-diff-tree failed