diff options
author | stephen hemminger <stephen@networkplumber.org> | 2013-04-27 11:31:56 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-29 11:53:12 -0400 |
commit | 7d836a7679a85f75bbc96d631b4007a78396b190 (patch) | |
tree | ee61331a1aa62a91aef8af609fce1e5f28a5cf86 /tools | |
parent | 5d174dd80ce94b7ed0950e31fc9a0122c689523b (diff) | |
download | op-kernel-dev-7d836a7679a85f75bbc96d631b4007a78396b190.zip op-kernel-dev-7d836a7679a85f75bbc96d631b4007a78396b190.tar.gz |
vxlan: compute source port in network byte order
Rather than computing source port and returning it in host order
then swapping later, go ahead and compute it in network order to
start with. Cleaner and less error prone.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions