net/failsafe: skip devargs if not present in secondary
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 21 Jun 2019 22:08:24 +0000 (15:08 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:35 +0000 (14:31 +0200)
commit69a27a5f4a433ae22d00e6195c69b629372b0682
treedfa7438edb9fb5be8dda34c8efc08be5089fbe93
parent0f1a2b09c9cd3db97b43a9384bc9573a971f1aeb
net/failsafe: skip devargs if not present in secondary

When secondary process is run was noticing that the log always
contained complaints about unable to parse devargs.

It turns out that an empty devargs turns into "" and this
value is not parsable. Change the failsafe secondary to just
skip doing devargs if it empty.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
drivers/net/failsafe/failsafe.c