patch-2.1.79 linux/net/netbeui/netbeui_name.c
Next file: linux/net/netlink/af_netlink.c
Previous file: linux/net/ipx/af_ipx.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Mon Jan 12 15:28:28 1998
- Orig file:
v2.1.78/linux/net/netbeui/netbeui_name.c
- Orig date:
Thu Dec 12 06:54:26 1996
diff -u --recursive --new-file v2.1.78/linux/net/netbeui/netbeui_name.c linux/net/netbeui/netbeui_name.c
@@ -58,7 +58,9 @@
if(nskb==NULL)
return;
/* Build a name defence packet */
- dev_queue_xmit(nskb,dev,SOPRI_INTERACTIVE);
+ nskb->dev = dev;
+ nskb->priority = TC_PRIO_CONTROL;
+ dev_queue_xmit(nskb);
}
void netbeui_heard_name(struct device *dev, struct sk_buff *skb)
@@ -151,7 +153,9 @@
if(nskb!=NULL)
{
/* Build a name reply packet */
- dev_queue_xmit(nskb,dev,SOPRI_INTERACTIVE);
+ nskb->dev = dev;
+ nskb->priority = TC_PRIO_CONTROL;
+ dev_queue_xmit(nskb);
}
}
kfree_skb(skb, FREE_READ);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov