]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5ebfffff96723655301fa1567e7001095dbdd4f
tree0796bf1df2f289283a573456be9195f93af070ea
parent6a906118890e6d58a97959f66f1639f2f09d2abe
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: dc36d6281b93 ("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