netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* af_packet.c bug?
@ 2005-03-28 19:19 Ben Greear
  2005-03-28 19:55 ` Thomas Graf
  0 siblings, 1 reply; 9+ messages in thread
From: Ben Greear @ 2005-03-28 19:19 UTC (permalink / raw)
  To: 'netdev@oss.sgi.com'


What is the '13' doing here?  Maybe it should be IFNAMSIZ?

	/*
	 *	Find the device first to size check it
	 */

	saddr->spkt_device[13] = 0;
	dev = dev_get_by_name(saddr->spkt_device);
	err = -ENODEV;
	if (dev == NULL)
		goto out_unlock;



-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

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

end of thread, other threads:[~2005-04-01  4:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-28 19:19 af_packet.c bug? Ben Greear
2005-03-28 19:55 ` Thomas Graf
2005-03-28 20:08   ` Ben Greear
2005-03-28 20:17     ` Thomas Graf
2005-03-28 20:33       ` Ben Greear
2005-03-28 20:18     ` David S. Miller
2005-03-28 20:30       ` Ben Greear
2005-03-28 20:33         ` David S. Miller
2005-04-01  4:59   ` 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).