diff options
author | jhb <jhb@FreeBSD.org> | 2001-11-14 18:36:37 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-11-14 18:36:37 +0000 |
commit | 866e8e774b05729a229b02750f88c34a58caac8e (patch) | |
tree | c94ee5845b912877c84cbff04313feb143f0d7b4 /sys/net | |
parent | 08704afd447096c2834699aec78e39c3a53a471a (diff) | |
download | FreeBSD-src-866e8e774b05729a229b02750f88c34a58caac8e.zip FreeBSD-src-866e8e774b05729a229b02750f88c34a58caac8e.tar.gz |
Remove ifnet.if_mpsafe for now. If this is needed, it won't be needed
until much later when the network stack locking is farther along.
Approved by: jlemon
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_var.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 2738c36..9797d90 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -125,7 +125,6 @@ struct ifnet { short if_flags; /* up/down, broadcast, etc. */ int if_capabilities; /* interface capabilities */ int if_capenable; /* enabled features */ - int if_mpsafe; /* XXX TEMPORARY */ int if_ipending; /* interrupts pending */ void *if_linkmib; /* link-type-specific MIB data */ size_t if_linkmiblen; /* length of above data */ @@ -292,15 +291,8 @@ if_handoff(struct ifqueue *ifq, struct mbuf *m, struct ifnet *ifp, int adjust) } _IF_ENQUEUE(ifq, m); IF_UNLOCK(ifq); - if (ifp != NULL && !active) { - if (ifp->if_mpsafe) { - DROP_GIANT_NOSWITCH(); + if (ifp != NULL && !active) (*ifp->if_start)(ifp); - PICKUP_GIANT(); - } else { - (*ifp->if_start)(ifp); - } - } return (1); } |