From: Tom Herbert Date: Wed, 12 Nov 2014 19:54:09 +0000 (-0800) Subject: ip_tunnel: Ops registration for secondary encap (fou, gue) X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~208 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8c5f90fb5;p=pandora-kernel.git ip_tunnel: Ops registration for secondary encap (fou, gue) Instead of calling fou and gue functions directly from ip_tunnel use ops for these that were previously registered. This patch adds the logic to add and remove encapsulation operations for ip_tunnel, and modified fou (and gue) to register with ip_tunnels. This patch also addresses a circular dependency between ip_tunnel and fou that was causing link errors when CONFIG_NET_IP_TUNNEL=y and CONFIG_NET_FOU=m. References to fou an gue have been removed from ip_tunnel.c Reported-by: Randy Dunlap Signed-off-by: Tom Herbert Signed-off-by: David S. Miller --- Reading git-diff-tree failed