netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 7/9] X.25: Dont log "unknown frame type" when receiving clear confirm
@ 2004-10-28  7:19 akpm
  2004-10-28 23:48 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2004-10-28  7:19 UTC (permalink / raw)
  To: davem; +Cc: jgarzik, netdev, akpm, ahendry


From: Andrew Hendry <ahendry@tusc.com.au>

There is no need to log "unknown frame type" when remote X.25 sends clear
confirms.

Signed-off-by: Andrew Hendry <ahendry@tusc.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/net/x25/x25_dev.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff -puN net/x25/x25_dev.c~x25-dont-log-unknown-frame-type-when net/x25/x25_dev.c
--- 25/net/x25/x25_dev.c~x25-dont-log-unknown-frame-type-when	2004-10-28 00:17:08.407525848 -0700
+++ 25-akpm/net/x25/x25_dev.c	2004-10-28 00:17:08.410525392 -0700
@@ -92,7 +92,9 @@ static int x25_receive_data(struct sk_bu
 /*
 	x25_transmit_clear_request(nb, lci, 0x0D);
 */
-	printk(KERN_DEBUG "x25_receive_data(): unknown frame type %2x\n",frametype);
+
+	if (frametype != X25_CLEAR_CONFIRMATION)
+		printk(KERN_DEBUG "x25_receive_data(): unknown frame type %2x\n",frametype);
 
 	return 0;
 }
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 7/9] X.25: Dont log "unknown frame type" when receiving clear confirm
  2004-10-28  7:19 [patch 7/9] X.25: Dont log "unknown frame type" when receiving clear confirm akpm
@ 2004-10-28 23:48 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-10-28 23:48 UTC (permalink / raw)
  To: akpm; +Cc: jgarzik, netdev, akpm, ahendry

On Thu, 28 Oct 2004 00:19:46 -0700
akpm@osdl.org wrote:

> From: Andrew Hendry <ahendry@tusc.com.au>
> 
> There is no need to log "unknown frame type" when remote X.25 sends clear
> confirms.
> 
> Signed-off-by: Andrew Hendry <ahendry@tusc.com.au>
> Signed-off-by: Andrew Morton <akpm@osdl.org>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-28 23:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-28  7:19 [patch 7/9] X.25: Dont log "unknown frame type" when receiving clear confirm akpm
2004-10-28 23:48 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).