mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Krzysztof Halasa <khc@pm.waw.pl>
To: Linus Torvalds <torvalds@osdl.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: [TRIVIAL] [PATCH] generic HDLC Cisco bugfix
Date: 10 Oct 2003 00:13:46 +0200	[thread overview]
Message-ID: <m3ismyvz39.fsf@defiant.pm.waw.pl> (raw)

[-- Attachment #1: Type: text/plain, Size: 140 bytes --]

Hi,

The attached patch fixes transmitted headers with generic HDLC + Cisco
encapsulation. Please apply. Thanks.
-- 
Krzysztof Halasa, B*FH

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: hdlc-2.6.0test7.patch --]
[-- Type: text/x-patch, Size: 445 bytes --]

--- 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;
 	}

             reply	other threads:[~2003-10-09 22:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-09 22:13 Krzysztof Halasa [this message]
2003-10-10  6:44 ` David S. Miller
2003-10-10  8:23   ` Jens Axboe
2003-10-10 15:56 Kevin Curtis
2003-10-11 17:39 ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3ismyvz39.fsf@defiant.pm.waw.pl \
    --to=khc@pm.waw.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®