Fix a likely bug by adding what appears to be a missing break statement
in the IPX over IP configuration ioctl: when changing the flags on a tunnel interface, return the generated error rather than always EINVAL.
This commit is contained in:
parent
fe68a91631
commit
e89beb720d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167013
@ -186,6 +186,7 @@ ipxipioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
|
||||
ifr = (struct ifreq *)data;
|
||||
if ((ifr->ifr_flags & IFF_UP) == 0)
|
||||
error = ipxip_free(ifp);
|
||||
break;
|
||||
|
||||
default:
|
||||
error = EINVAL;
|
||||
|
Loading…
Reference in New Issue
Block a user