patch-2.1.16 linux/net/netrom/nr_dev.c
Next file: linux/net/netrom/nr_in.c
Previous file: linux/net/netrom/af_netrom.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Sat Dec 14 13:40:12 1996
- Orig file:
v2.1.15/linux/net/netrom/nr_dev.c
- Orig date:
Thu Dec 12 19:37:31 1996
diff -u --recursive --new-file v2.1.15/linux/net/netrom/nr_dev.c linux/net/netrom/nr_dev.c
@@ -112,10 +112,11 @@
static int nr_rebuild_header(struct sk_buff *skb)
{
- struct device *dev=skb->dev;
+ struct device *dev = skb->dev;
struct enet_statistics *stats = (struct enet_statistics *)dev->priv;
struct sk_buff *skbn;
- unsigned char *bp=skb->data;
+ unsigned char *bp = skb->data;
+
if (!arp_find(bp + 7, skb)) {
kfree_skb(skb, FREE_WRITE);
return 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov