From: Eric Dumazet Date: Mon, 20 Aug 2012 07:26:45 +0000 (+0000) Subject: ipv4: fix ip header ident selection in __ip_make_skb() X-Git-Tag: v3.6-rc3~10^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9915a1b52df52ad87f3b33422da95cf25372f09;p=pandora-kernel.git ipv4: fix ip header ident selection in __ip_make_skb() Christian Casteyde reported a kmemcheck 32-bit read from uninitialized memory in __ip_select_ident(). It turns out that __ip_make_skb() called ip_select_ident() before properly initializing iph->daddr. This is a bug uncovered by commit 1d861aa4b3fb (inet: Minimize use of cached route inetpeer.) Addresses https://bugzilla.kernel.org/show_bug.cgi?id=46131 Reported-by: Christian Casteyde Signed-off-by: Eric Dumazet Cc: Stephen Hemminger Signed-off-by: David S. Miller --- Reading git-diff-tree failed