netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.6] allow large MTU on dummy net device
@ 2004-06-30 18:37 Stephen Hemminger
  2004-07-05 22:48 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2004-06-30 18:37 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev

It is useful for testing to allow larger MTU value to be set on
the dummy network device. The current code limits it to valid Ether mtu's.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
 

diff -Nru a/drivers/net/dummy.c b/drivers/net/dummy.c
--- a/drivers/net/dummy.c	2004-06-30 11:37:38 -07:00
+++ b/drivers/net/dummy.c	2004-06-30 11:37:38 -07:00
@@ -78,6 +78,7 @@
 	/* Fill in device structure with ethernet-generic values. */
 	ether_setup(dev);
 	dev->tx_queue_len = 0;
+	dev->change_mtu = NULL;
 	dev->flags |= IFF_NOARP;
 	dev->flags &= ~IFF_MULTICAST;
 	SET_MODULE_OWNER(dev);

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

* Re: [PATCH 2.6] allow large MTU on dummy net device
  2004-06-30 18:37 [PATCH 2.6] allow large MTU on dummy net device Stephen Hemminger
@ 2004-07-05 22:48 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-07-05 22:48 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev

On Wed, 30 Jun 2004 11:37:54 -0700
Stephen Hemminger <shemminger@osdl.org> wrote:

> It is useful for testing to allow larger MTU value to be set on
> the dummy network device. The current code limits it to valid Ether mtu's.
> 
> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

Applied.

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

end of thread, other threads:[~2004-07-05 22:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-30 18:37 [PATCH 2.6] allow large MTU on dummy net device Stephen Hemminger
2004-07-05 22: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).