From: patrickeigens...@gmail.com Date: Mon, 1 Jun 2020 13:12:01 +0200 > From: Patrick Eigensatz <patrickeigens...@gmail.com> > > After allocating the spare nexthop group it should be tested for kzalloc() > returning NULL, instead the already used nexthop group (which cannot be > NULL at this point) had been tested so far. > > Additionally, if kzalloc() fails, return ERR_PTR(-ENOMEM) instead of NULL. > > Coverity-id: 1463885 > Reported-by: Coverity <scan-ad...@coverity.com> > Signed-off-by: Patrick Eigensatz <patrickeigens...@gmail.com>
Applied, thank you.