Commit 91239976 authored by Kai Germaschewski's avatar Kai Germaschewski

ISDN: Cisco HDLC update

Only handle reverse ARP special, leave the rest to the
network layer.

(by Bjoern A. Zeeb)
parent 0500df7b
......@@ -1746,10 +1746,6 @@ isdn_net_ciscohdlck_receive(isdn_net_local *lp, struct sk_buff *skb)
}
switch (type) {
case CISCO_TYPE_INET:
skb->protocol = htons(ETH_P_IP);
netif_rx(skb);
break;
case CISCO_TYPE_SLARP:
isdn_net_ciscohdlck_slarp_in(lp, skb);
goto out_free;
......@@ -1759,11 +1755,11 @@ isdn_net_ciscohdlck_receive(isdn_net_local *lp, struct sk_buff *skb)
"\"no cdp enable\" on cisco.\n", lp->name);
goto out_free;
default:
printk(KERN_WARNING "%s: Unknown Cisco type 0x%04x\n",
lp->name, type);
goto out_free;
/* no special cisco protocol */
skb->protocol = htons(type);
netif_rx(skb);
return;
}
return;
out_free:
kfree_skb(skb);
......
......@@ -26,7 +26,6 @@
#define CISCO_ADDR_BROADCAST 0x8f
#define CISCO_CTRL 0x00
#define CISCO_TYPE_CDP 0x2000
#define CISCO_TYPE_INET 0x0800
#define CISCO_TYPE_SLARP 0x8035
#define CISCO_SLARP_REQUEST 0
#define CISCO_SLARP_REPLY 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment