From: Nicolas Dichtel Date: Wed, 17 Sep 2014 08:08:08 +0000 (+0200) Subject: macvlan: allow to enqueue broadcast pkt on virtual device X-Git-Tag: fixes-for-v3.18-merge-window~87^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07d92d5cc977a7fe1e683e1d4a6f723f7f2778cb;p=pandora-kernel.git macvlan: allow to enqueue broadcast pkt on virtual device 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 Reported-by: Thibaut Collet Suggested-by: Thibaut Collet Tested-by: Thibaut Collet Signed-off-by: Nicolas Dichtel Acked-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed