From: Nicolas Dichtel Date: Tue, 10 Dec 2013 14:02:40 +0000 (+0100) Subject: ipv4: fix wildcard search with inet_confirm_addr() X-Git-Tag: v3.14-rc1~94^2~513 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b601fa197fff265bf60eaf6950d4c194da080f4a;p=pandora-kernel.git ipv4: fix wildcard search with inet_confirm_addr() Help of this function says: "in_dev: only on this interface, 0=any interface", but since commit 39a6d0630012 ("[NETNS]: Process inet_confirm_addr in the correct namespace."), the code supposes that it will never be NULL. This function is never called with in_dev == NULL, but it's exported and may be used by an external module. Because this patch restore the ability to call inet_confirm_addr() with in_dev == NULL, I partially revert the above commit, as suggested by Julian. CC: Julian Anastasov Signed-off-by: Nicolas Dichtel Reviewed-by: Julian Anastasov Signed-off-by: David S. Miller --- Reading git-diff-tree failed