lkml.org 
[lkml]   [2003]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[TRIVIAL] [PATCH] generic HDLC Cisco bugfix
From
Date
Hi,

The attached patch fixes transmitted headers with generic HDLC + Cisco
encapsulation. Please apply. Thanks.
--
Krzysztof Halasa, B*FH
--- linux-2.6.orig/drivers/net/wan/hdlc_cisco.c 2003-08-09 06:34:37.000000000 +0200
+++ linux-2.6/drivers/net/wan/hdlc_cisco.c 2003-10-09 23:40:00.000000000 +0200
@@ -311,7 +311,9 @@
hdlc->proto.id = IF_PROTO_CISCO;
dev->hard_start_xmit = hdlc->xmit;
dev->hard_header = cisco_hard_header;
+ dev->hard_header_cache = NULL;
dev->type = ARPHRD_CISCO;
+ dev->flags = IFF_POINTOPOINT | IFF_NOARP;
dev->addr_len = 0;
return 0;
}
\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.016 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site