[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 2 Feb 2013 02:04:02 +0100
From: Michał Mirosław <mirqus@...il.com>
To: Vlad Yasevich <vyasevic@...hat.com>
Cc: shemminger@...tta.com, bridge@...ts.linux-foundation.org,
davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH v9 net-next 02/12] bridge: Validate that vlan is permitted
on ingress
2013/2/1 Vlad Yasevich <vyasevic@...hat.com>:
> When a frame arrives on a port or transmitted by the bridge,
> if we have VLANs configured, validate that a given VLAN is allowed
> to enter the bridge.
[...]
> +static inline struct net_port_vlans *br_get_vlan_info(
> + const struct net_bridge *br)
> +{
> + return rcu_dereference(br->vlan_info);
> +}
> +
> +static inline struct net_port_vlans *nbp_get_vlan_info(
> + const struct net_bridge_port *p)
> +{
> + return rcu_dereference(p->vlan_info);
> +}
Those should go to patch #1.
Best Regards,
Michał Mirosław
--
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