summaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorMaxime Chevallier <maxime.chevallier@bootlin.com>2018-06-28 14:42:07 +0200
committerDavid S. Miller <davem@davemloft.net>2018-06-30 18:54:09 +0900
commitdc734dbe99695862e4d9121b6b0af8716b8e09fa (patch)
tree3e20b1cb8ae5f5925853ef3e347b946d38002b89 /tools/perf/util/c++/clang.cpp
parent432b59426bcaf217137a27c384bc1d215946912d (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>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions