From: Simon Horman <simon.hor...@netronome.com> Date: Sun, 10 Jul 2016 10:20:11 +0900
> Using a combination if #if conditionals and goto labels to unwind > tunnel4_init seems unwieldy. This patch takes a simpler approach of > directly unregistering previously registered protocols when an error > occurs. > > This fixes a number of problems with the current implementation > including the potential presence of labels when they are unused > and the potential absence of unregister code when it is needed. > > Fixes: 8afe97e5d416 ("tunnels: support MPLS over IPv4 tunnels") > Signed-off-by: Simon Horman <simon.hor...@netronome.com> Applied, thanks Simon.