From: stephen hemminger Date: Tue, 9 Oct 2012 20:35:53 +0000 (+0000) Subject: vxlan: fix oops when give unknown ifindex X-Git-Tag: v3.7-rc1~25^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34e02aa1fb0886d8e92ab00e3dc17d631487f92d;p=pandora-kernel.git vxlan: fix oops when give unknown ifindex If vxlan is created and the ifindex is passed; there are two cases which are incorrectly handled by the existing code. The ifindex could be zero (i.e. no device) or there could be no device with that ifindex. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- Reading git-diff-tree failed