commit | dc734dbe99695862e4d9121b6b0af8716b8e09fa | [log] [tgz] |
---|---|---|
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | Thu Jun 28 14:42:07 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Jun 30 18:54:09 2018 +0900 |
tree | 3e20b1cb8ae5f5925853ef3e347b946d38002b89 | |
parent | 432b59426bcaf217137a27c384bc1d215946912d [diff] |
net: mvpp2: Use htons when checking protocol info When checking the skb->protocol field, we have to make sure we use the proper endianness using htons, and not swab16. Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>