From: Eric Dumazet Date: Thu, 14 Apr 2011 05:55:37 +0000 (+0000) Subject: ip: ip_options_compile() resilient to NULL skb route X-Git-Tag: v2.6.39-rc5~40^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c65353daf137dd41f3ede3baf62d561fca076228;p=pandora-kernel.git ip: ip_options_compile() resilient to NULL skb route Scot Doyle demonstrated ip_options_compile() could be called with an skb without an attached route, using a setup involving a bridge, netfilter, and forged IP packets. Let's make ip_options_compile() and ip_options_rcv_srr() a bit more robust, instead of changing bridge/netfilter code. With help from Hiroaki SHIMODA. Reported-by: Scot Doyle Tested-by: Scot Doyle Signed-off-by: Eric Dumazet Cc: Stephen Hemminger Acked-by: Hiroaki SHIMODA Signed-off-by: David S. Miller --- Reading git-diff-tree failed