From: Alexey Dobriyan Date: Tue, 16 Feb 2010 07:57:44 +0000 (+0000) Subject: gre: fix netns vs proto registration ordering X-Git-Tag: v2.6.34-rc1~233^2~302 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2892f02712e9516d72841d5c019ed6916329794;p=pandora-kernel.git gre: fix netns vs proto registration ordering GRE protocol receive hook can be called right after protocol addition is done. If netns stuff is not yet initialized, we're going to oops in net_generic(). This is remotely oopsable if ip_gre is compiled as module and packet comes at unfortunate moment of module loading. Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller --- Reading git-diff-tree failed