diff options
author | Lance Richardson <lrichard@redhat.com> | 2017-01-16 18:37:58 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-04 03:47:10 -0500 |
commit | d1c95f9ce102e77875ee8febc73d2a217dd020a0 (patch) | |
tree | afafebaf1ba418b455ba100db2620d91056966c3 /net/unix/af_unix.c | |
parent | 1e7cbb413f63d8fa790c8dabc208ce2a02339c26 (diff) |
vxlan: fix byte order of vxlan-gpe port number
[ Upstream commit d5ff72d9af73bc3cbaa3edb541333a851f8c7295 ]
vxlan->cfg.dst_port is in network byte order, so an htons()
is needed here. Also reduced comment length to stay closer
to 80 column width (still slightly over, however).
Fixes: e1e5314de08b ("vxlan: implement GPE")
Signed-off-by: Lance Richardson <lrichard@redhat.com>
Acked-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions