[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150226.112606.1708529369110032286.davem@davemloft.net>
Date: Thu, 26 Feb 2015 11:26:06 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: roopa@...ulusnetworks.com
Cc: netdev@...r.kernel.org, stephen@...workplumber.org,
vyasevic@...hat.com, sfeldma@...il.com, wkok@...ulusnetworks.com,
siva.mannem.lnx@...il.com
Subject: Re: [PATCH net-next] bridge: fix link notification skb size
calculation to include vlan ranges
From: roopa@...ulusnetworks.com
Date: Wed, 25 Feb 2015 23:55:40 -0800
> From: Roopa Prabhu <roopa@...ulusnetworks.com>
>
> my previous patch skipped vlan range optimizations during skb size
> calculations for simplicity.
>
> This incremental patch considers vlan ranges during
> skb size calculations. This leads to a bit of code duplication
> in the fill and size calculation functions. But, I could not find a
> prettier way to do this. will take any suggestions.
>
> Previously, I had reused the existing br_get_link_af_size size calculation
> function to calculate skb size for notifications. Reusing it this time
> around creates some change in behaviour issues for the usual
> .get_link_af_size callback.
>
> This patch adds a new br_get_link_af_size_filtered() function to
> base the size calculation on the incoming filter flag and include
> vlan ranges.
>
> Signed-off-by: Roopa Prabhu <roopa@...ulusnetworks.com>
Applied, thanks for following up on this.
--
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