Thread (12 messages) flat view 12 messages, 3 authors, 2015-03-27

Re: [PATCH net-next 3/7] net: Move check for multiple vlans to drivers

From: Toshiaki Makita <hidden>
Date: 2015-03-27 05:28:54

On 2015/03/26 20:55, Eric Dumazet wrote:
...
quoted
+/**
+ * vlan_features_check - drop unsafe features for skb with multiple tags.
+ * @skb: skbuff to query
+ * @features: features to be checked
+ *
+ * Returns features without unsafe ones if the skb has multiple tags.
+ */
+static inline netdev_features_t vlan_features_check(struct sk_buff *skb,
const struct sk_buff *skb
quoted
+						    netdev_features_t features)
+{
+	if (skb_vlan_tagged_multi(skb))
...
quoted
@@ -2562,6 +2562,13 @@ static netdev_features_t harmonize_features(struct sk_buff *skb,
 	return features;
 }
 
+static netdev_features_t dflt_features_check(struct sk_buff *skb,
const struct sk_buff *skb
Thank you, I fixed them and your another feedback for patch 2.
will send v2.

Toshiaki Makita


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit http://communities.intel.com/community/wired
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help