Re: [PATCH net 1/1] net: dsa: sja1105: Don't store frame type in skb->cb

2019-05-31 Thread David Miller
From: Vladimir Oltean Date: Thu, 30 May 2019 00:51:26 +0300 > Due to a confusion I thought that eth_type_trans() was called by the > network stack whereas it can actually be called by network drivers to > figure out the skb protocol and next packet_type handlers. > > In light of the above, it is

[PATCH net 1/1] net: dsa: sja1105: Don't store frame type in skb->cb

2019-05-29 Thread Vladimir Oltean
Due to a confusion I thought that eth_type_trans() was called by the network stack whereas it can actually be called by network drivers to figure out the skb protocol and next packet_type handlers. In light of the above, it is not safe to store the frame type from the DSA tagger's .filter callback