net: ipip: fix wrong address family in init error path
authorVadim Fedorenko <vfedorenko@novek.ru>
Wed, 20 May 2020 08:50:48 +0000 (11:50 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 May 2020 00:24:25 +0000 (17:24 -0700)
commit57ebc8f08504f176eb0f25b3e0fde517dec61a4f
tree0796bf1df2f289283a573456be9195f93af070ea
parenta5534617007a1c33095db35c36b6455ee7add00b
net: ipip: fix wrong address family in init error path

In case of error with MPLS support the code is misusing AF_INET
instead of AF_MPLS.

Fixes: 1b69e7e6c4da ("ipip: support MPLS over IPv4")
Signed-off-by: Vadim Fedorenko <vfedorenko@novek.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipip.c