]> 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)
commitfee1958460669eab902b22d6c681e47d8c8c4c93
tree0796bf1df2f289283a573456be9195f93af070ea
parentca2e7088ebf1c7111870551c9728b98c11f27aec
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: 2c31134c676d ("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