diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2014-11-07 15:14:10 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2014-11-07 15:14:10 +0000 |
commit | 833e8dc5ab711a9485790d950801e32798d55558 (patch) | |
tree | 8477b249e14f24c5617bf5ae2aa9e42c46dac3f6 /sys/net/if.c | |
parent | b6e1ad3a3a2f414cc4a67ffcdb92c47e444cdc9f (diff) | |
download | src-833e8dc5ab711a9485790d950801e32798d55558.tar.gz src-833e8dc5ab711a9485790d950801e32798d55558.zip |
Remove struct arpcom. It is unused by most interface types, that allocate
it, except Ethernet, where it carried ng_ether(4) pointer.
For now carry the pointer in if_l2com directly.
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
Notes
Notes:
svn path=/head/; revision=274231
Diffstat (limited to 'sys/net/if.c')
-rw-r--r-- | sys/net/if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 980fab1c6772..5b606ebecd9d 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -2136,7 +2136,7 @@ do_link_state_change(void *arg, int pending) (*vlan_link_state_p)(ifp); if ((ifp->if_type == IFT_ETHER || ifp->if_type == IFT_L2VLAN) && - IFP2AC(ifp)->ac_netgraph != NULL) + ifp->if_l2com != NULL) (*ng_ether_link_state_p)(ifp, link_state); if (ifp->if_carp) (*carp_linkstate_p)(ifp); |