[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140922.141048.2225879376615599480.davem@davemloft.net>
Date: Mon, 22 Sep 2014 14:10:48 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: nicolas.dichtel@...nd.com
Cc: netdev@...r.kernel.org, herbert@...dor.apana.org.au
Subject: Re: [PATCH net] macvlan: allow to enqueue broadcast pkt on virtual
device
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Date: Wed, 17 Sep 2014 10:08:08 +0200
> Since commit 412ca1550cbe ("macvlan: Move broadcasts into a work queue"), the
> driver uses tx_queue_len of the master device as the limit of packets enqueuing.
> Problem is that virtual drivers have this value set to 0, thus all broadcast
> packets were rejected.
> Because tx_queue_len was arbitrarily chosen, I replace it with a static limit
> of 1000 (also arbitrarily chosen).
>
> CC: Herbert Xu <herbert@...dor.apana.org.au>
> Reported-by: Thibaut Collet <thibaut.collet@...nd.com>
> Suggested-by: Thibaut Collet <thibaut.collet@...nd.com>
> Tested-by: Thibaut Collet <thibaut.collet@...nd.com>
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Applied and queued up for -stable.
Longer term we should come up with something a little bit nicer.
--
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