lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 13 Sep 2014 17:04:47 -0400 (EDT) From: David Miller <davem@...emloft.net> To: f.fainelli@...il.com Cc: netdev@...r.kernel.org, kernel@...tstofly.org, alexander.duyck@...il.com Subject: Re: [PATCH net-next v2] net: dsa: change tag_protocol to an enum From: Florian Fainelli <f.fainelli@...il.com> Date: Thu, 11 Sep 2014 21:18:09 -0700 > Now that we introduced an additional multiplexing/demultiplexing layer > with commit 3e8a72d1dae37 ("net: dsa: reduce number of protocol hooks") > that lives within the DSA code, we no longer need to have a given switch > driver tag_protocol be an actual ethertype value, instead, we can > replace it with an enum: dsa_tag_protocol. > > Do this replacement in the drivers, which allows us to get rid of the > cpu_to_be16()/htons() dance, and remove ETH_P_BRCMTAG since we do not > need it anymore. > > Suggested-by: Alexander Duyck <alexander.duyck@...il.com> > Signed-off-by: Florian Fainelli <f.fainelli@...il.com> > --- > Changes in v2: > - removed now obsolete comment about the former ETH_P_BRCMTAG we did > introduce earlier Applied, thank you. -- 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