Re: [PATCH net] vxlan: fix byte order of vxlan-gpe port number

2017-01-17 Thread David Miller
From: Lance Richardson Date: Mon, 16 Jan 2017 18:37:58 -0500 > 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:

Re: [PATCH net] vxlan: fix byte order of vxlan-gpe port number

2017-01-17 Thread Jiri Benc
On Mon, 16 Jan 2017 18:37:58 -0500, Lance Richardson wrote: > 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). Ouch. A stupid mistake I made. I think it's still okay to fix

[PATCH net] vxlan: fix byte order of vxlan-gpe port number

2017-01-16 Thread Lance Richardson
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 --- drivers/net/vxlan.c | 2