ipip: convert to net_device_ops
authorStephen Hemminger <shemminger@vyatta.com>
Fri, 21 Nov 2008 04:33:21 +0000 (20:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2008 04:33:21 +0000 (20:33 -0800)
commit23a12b14715e2dcd34dc8002927263ad3437344c
treeb35e56dc098e97153a8541ae43d90d50f0a155ea
parent748ff68fad9600593c6abe47856037602bd5d133
ipip: convert to net_device_ops

Convert to network device ops. Needed to change to directly call
the init routine since two sides share same ops.  In the process
found by inspection a device ref count leak if register_netdevice failed.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipip.c