[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080218153903.GA30253@ee.oulu.fi>
Date:	Mon, 18 Feb 2008 17:39:03 +0200
From:	Pekka Pietikainen <pp@...oulu.fi>
To:	netdev@...r.kernel.org
Subject: "protocol 0300 is buggy" spam in dmesg when injecting&capturing on
	same interface
When playing with some L2 level fuzzing I started getting lots of
"protocol 0300 is buggy, dev eth3" spew in dmesg. That interface is also
capturing the traffic that's being sent, that's probably why the
dev_queue_xmit_nit codepath is getting called in the first place.
Tested on 2.6.23-as-shipped-in-F8. didn't spot any relevant changes in .24
but can pretty easily verify there too. 
Oh. That printk wasn't very easy to find:
                              if (net_ratelimit())
                                        printk(KERN_CRIT "protocol %04x is "
                                               "buggy, dev %s\n",
and I naturally grepped for "is buggy". 
Any ideas? Add a "If it came from AF_PACKET, don't print out anything" to
that if-statement?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists
 
