]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ip_rt_get_source() - use new style struct initializer instead of memset
authorMaciej Żenczykowski <maze@google.com>
Sun, 30 Sep 2018 06:44:46 +0000 (23:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Oct 2018 23:12:39 +0000 (16:12 -0700)
commite351bb6227fbe2bb5da6f38a4cf5bd18810b0557
tree6bb077d088336d8e20e012aaf0592bfb1a9e6c39
parentd793fb46822ff7408a1767313ef6b12e811baa55
net: ip_rt_get_source() - use new style struct initializer instead of memset

(allows for better compiler optimization)

Signed-off-by: Maciej Żenczykowski <maze@google.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c