commit | 7d836a7679a85f75bbc96d631b4007a78396b190 | [log] [tgz] |
---|---|---|
author | stephen hemminger <stephen@networkplumber.org> | Sat Apr 27 11:31:56 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 29 11:53:12 2013 -0400 |
tree | ee61331a1aa62a91aef8af609fce1e5f28a5cf86 | |
parent | 5d174dd80ce94b7ed0950e31fc9a0122c689523b [diff] |
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>