]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move the cloned interface list management in to if_clone. For some drivers the
authorthompsa <thompsa@FreeBSD.org>
Tue, 8 Nov 2005 20:08:34 +0000 (20:08 +0000)
committerthompsa <thompsa@FreeBSD.org>
Tue, 8 Nov 2005 20:08:34 +0000 (20:08 +0000)
commit48c0bcb5c218c021c1da0e53702d2e83708a471a
treeb5694a5381004aaef7ca02a29efbdb85ad370b4d
parent7b0555d4591f77539a864cf4d9ca449610fd188c
Move the cloned interface list management in to if_clone. For some drivers the
softc lists and associated mutex are now unused so these have been removed.

Calling if_clone_detach() will now destroy all the cloned interfaces for the
driver and in most cases is all thats needed to unload.

Idea by: brooks
Reviewed by: brooks
15 files changed:
sys/contrib/pf/net/if_pflog.c
sys/contrib/pf/net/if_pfsync.c
sys/net/if_bridge.c
sys/net/if_bridgevar.h
sys/net/if_clone.c
sys/net/if_clone.h
sys/net/if_disc.c
sys/net/if_faith.c
sys/net/if_gif.c
sys/net/if_gre.c
sys/net/if_ppp.c
sys/net/if_stf.c
sys/net/if_var.h
sys/net/if_vlan.c
sys/netinet/ip_carp.c