Files
linux/drivers
Simon Horman 719a11cdbf vxlan: Don't set s_addr in vxlan_create_sock
In the case of AF_INET s_addr was set to INADDR_ANY (0) which which both
symmetric with the AF_INET6 case, where s_addr is not set, and unnecessary
as udp_conf is zeroed out earlier in the same function.

I suspect this change does not have any run-time effect due to compiler
optimisations. But it does make the code a little easier on the/my eyes.

Cc: Tom Herbert <therbert@google.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-12 23:23:16 -04:00
..
2015-03-06 01:29:16 +01:00
2015-03-02 12:08:43 -05:00
2015-03-06 22:35:49 +01:00
2015-02-03 15:48:51 -08:00
2015-02-25 11:38:46 +11:00
2015-03-02 16:43:41 -05:00
2015-02-03 15:58:39 -08:00
2015-02-04 09:15:18 +01:00
2015-03-11 17:56:28 -04:00
2015-02-18 08:40:29 +01:00
2015-03-06 01:29:05 +01:00
2015-02-03 15:58:39 -08:00