diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-08-25 09:12:35 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-08-25 09:12:35 +0000 |
commit | c7fc24dc4420057f103afe8fc64524ebc25c5d37 (patch) | |
tree | 3682407a599b8f9f03fc096298134cafba1c9b2f /net/802/psnap.c | |
parent | 1d793fade8b063fde3cf275bf1a5c2d381292cd9 (diff) |
o Merge with Linux 2.1.116.
o New Newport console code.
o New G364 console code.
Diffstat (limited to 'net/802/psnap.c')
-rw-r--r-- | net/802/psnap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/802/psnap.c b/net/802/psnap.c index 24e7f2bd0..8c077d46f 100644 --- a/net/802/psnap.c +++ b/net/802/psnap.c @@ -60,9 +60,11 @@ int snap_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt) */ skb->h.raw += 5; + skb->nh.raw += 5; skb_pull(skb,5); if (psnap_packet_type.type == 0) psnap_packet_type.type=htons(ETH_P_SNAP); + return proto->rcvfunc(skb, dev, &psnap_packet_type); } skb->sk = NULL; @@ -95,7 +97,7 @@ __initfunc(void snap_proto_init(struct net_proto *pro)) } /* - * Register SNAP clients. We don't yet use this for IP or IPX. + * Register SNAP clients. We don't yet use this for IP. */ struct datalink_proto *register_snap_client(unsigned char *desc, int (*rcvfunc)(struct sk_buff *, struct device *, struct packet_type *)) |