net: use net_eq to compare nets
authorOctavian Purdila <opurdila@ixiacom.com>
Wed, 25 Nov 2009 23:14:13 +0000 (15:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Nov 2009 23:14:13 +0000 (15:14 -0800)
commit09ad9bc752519cc167d0a573e1acf69b5c707c67
tree0e190a9ffb90d7e0534136c3e9f31dce02f423c3
parent4ba3eb034fb6fd1990ccc5a6d71d5abcda37b905
net: use net_eq to compare nets

Generated with the following semantic patch

@@
struct net *n1;
struct net *n2;
@@
- n1 == n2
+ net_eq(n1, n2)

@@
struct net *n1;
struct net *n2;
@@
- n1 != n2
+ !net_eq(n1, n2)

applied over {include,net,drivers/net}.

Signed-off-by: Octavian Purdila <opurdila@ixiacom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
46 files changed:
drivers/net/hamradio/bpqether.c
drivers/net/loopback.c
drivers/net/wan/hdlc.c
net/appletalk/ddp.c
net/atm/svc.c
net/ax25/af_ax25.c
net/can/af_can.c
net/core/dev.c
net/core/neighbour.c
net/core/net-sysfs.c
net/core/net_namespace.c
net/core/sysctl_net_core.c
net/dcb/dcbnl.c
net/decnet/af_decnet.c
net/decnet/dn_dev.c
net/decnet/dn_fib.c
net/decnet/dn_route.c
net/decnet/dn_table.c
net/econet/af_econet.c
net/ieee802154/af_ieee802154.c
net/ipv4/devinet.c
net/ipv4/fib_semantics.c
net/ipv4/inet_connection_sock.c
net/ipv4/inet_hashtables.c
net/ipv4/ip_fragment.c
net/ipv4/ip_input.c
net/ipv4/netfilter/ip_queue.c
net/ipv4/route.c
net/ipv4/sysctl_net_ipv4.c
net/ipv6/addrconf.c
net/ipv6/ip6_flowlabel.c
net/ipv6/netfilter/ip6_queue.c
net/ipv6/reassembly.c
net/ipx/af_ipx.c
net/llc/af_llc.c
net/netfilter/nfnetlink_log.c
net/netlink/af_netlink.c
net/netrom/af_netrom.c
net/packet/af_packet.c
net/rose/af_rose.c
net/rxrpc/af_rxrpc.c
net/sched/act_api.c
net/sched/cls_api.c
net/sched/sch_api.c
net/tipc/socket.c
net/x25/af_x25.c