Re: [PATCH net] geneve: use ipv6_mod_enabled to check if ipv6 is disabled

2019-02-25 Thread David Miller
From: David Ahern Date: Mon, 25 Feb 2019 09:57:08 -0700 > On 2/24/19 9:13 PM, Hangbin Liu wrote: >> ipv6_mod_enabled() is more safe and gentle to check if ipv6 is disabled >> at running time. >> >> Fixes: c0a47e44c098 ("geneve: should not call rt6_lookup() when ipv6 was >> disabled") >> Signed-

Re: [PATCH net] geneve: use ipv6_mod_enabled to check if ipv6 is disabled

2019-02-25 Thread David Ahern
On 2/24/19 9:13 PM, Hangbin Liu wrote: > ipv6_mod_enabled() is more safe and gentle to check if ipv6 is disabled > at running time. > > Fixes: c0a47e44c098 ("geneve: should not call rt6_lookup() when ipv6 was > disabled") > Signed-off-by: Hangbin Liu > --- > drivers/net/geneve.c | 2 +- > 1 fil