patch-2.0.36 linux/net/bridge/br.c
Next file: linux/net/core/dev.c
Previous file: linux/mm/vmscan.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Sun Nov 15 10:33:20 1998
- Orig file:
v2.0.35/linux/net/bridge/br.c
- Orig date:
Tue Aug 26 11:05:34 1997
diff -u --recursive --new-file v2.0.35/linux/net/bridge/br.c linux/net/bridge/br.c
@@ -921,10 +921,7 @@
skb->pkt_bridged = IS_BRIDGED;
skb->arp = 1; /* do not resolve... */
skb->h.raw = skb->data + ETH_HLEN;
- save_flags(flags);
- cli();
- skb_queue_tail(dev->buffs, skb);
- restore_flags(flags);
+ dev_queue_xmit(skb, dev, SOPRI_INTERACTIVE);
return(0);
}
@@ -977,10 +974,8 @@
skb->pkt_bridged = IS_BRIDGED;
skb->arp = 1; /* do not resolve... */
skb->h.raw = skb->data + ETH_HLEN;
- save_flags(flags);
- cli();
- skb_queue_tail(dev->buffs, skb);
- restore_flags(flags);
+
+ dev_queue_xmit(skb, dev, SOPRI_INTERACTIVE);
return(0);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov