ipv4 tunnels: use net_eq() helper to check netns
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 13 Aug 2013 15:51:10 +0000 (17:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Aug 2013 08:00:20 +0000 (01:00 -0700)
commitfc8f999daa10a5c5c19562b88be96a9b2bacd9b7
treeb6640ce1388663a305f597903dad9562079ffdb0
parent64261f230a9157f5f520ce30ec6827d679375e2f
ipv4 tunnels: use net_eq() helper to check netns

It's better to use available helpers for these tests.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_tunnel.c
net/ipv6/sit.c