ip_tunnel: Add sanity checks to ip_tunnel_encap_add_ops()
authorThomas Graf <tgraf@suug.ch>
Tue, 16 Dec 2014 20:05:20 +0000 (21:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Dec 2014 20:20:41 +0000 (15:20 -0500)
commitbb1553c800227f33063fe96561af881619447b83
treed58e5c18d590519e56a039fc9dea063ed29b0646
parentc9f2c3d36c10717159caae4b66410f74ce45d30c
ip_tunnel: Add sanity checks to ip_tunnel_encap_add_ops()

The symbols are exported and could be used by external modules.

Fixes: a8c5f9 ("ip_tunnel: Ops registration for secondary encap (fou, gue)")
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_tunnel.c