diff options
author | 2019-04-10 10:05:51 -0700 | |
---|---|---|
committer | 2019-04-10 12:39:25 -0700 | |
commit | d73f80f921fd323af8f35644fb9f3b129f465f66 (patch) | |
tree | cb516f729ba9fa16931f42d537381f77ef2aed3a /net/core/net_namespace.c | |
parent | Merge branch 'net-sched-move-back-qlen-to-per-CPU-accounting' (diff) | |
download | wireguard-linux-d73f80f921fd323af8f35644fb9f3b129f465f66.tar.xz wireguard-linux-d73f80f921fd323af8f35644fb9f3b129f465f66.zip |
ipv4: Handle RTA_GATEWAY set to 0
Govindarajulu reported a regression with Network Manager which sends an
RTA_GATEWAY attribute with the address set to 0. Fixup the handling of
RTA_GATEWAY to only set fc_gw_family if the gateway address is actually
set.
Fixes: f35b794b3b405 ("ipv4: Prepare fib_config for IPv6 gateway")
Reported-by: Govindarajulu Varadarajan <govind.varadar@gmail.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net_namespace.c')
0 files changed, 0 insertions, 0 deletions