summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-11-05 12:52:56 +0000
committerglebius <glebius@FreeBSD.org>2013-11-05 12:52:56 +0000
commitcb6df3f35cfa18fcb27b94a3a42423ae51d713c0 (patch)
tree5b25ff64181cb8017ff8829c41ad7f6ce5d87326 /sys/compat
parent3b6f8b896cf04f26955153df6e46b94aebfaf707 (diff)
downloadFreeBSD-src-cb6df3f35cfa18fcb27b94a3a42423ae51d713c0.zip
FreeBSD-src-cb6df3f35cfa18fcb27b94a3a42423ae51d713c0.tar.gz
Axe IFF_SMART. Fortunately this layering violating flag was never used,
it was just declared.
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c
index 0600f91..48afc09 100644
--- a/sys/compat/linux/linux_ioctl.c
+++ b/sys/compat/linux/linux_ioctl.c
@@ -2287,7 +2287,7 @@ linux_gifflags(struct thread *td, struct ifnet *ifp, struct l_ifreq *ifr)
flags = (ifp->if_flags | ifp->if_drv_flags) & 0xffff;
/* these flags have no Linux equivalent */
- flags &= ~(IFF_SMART|IFF_DRV_OACTIVE|IFF_SIMPLEX|
+ flags &= ~(IFF_DRV_OACTIVE|IFF_SIMPLEX|
IFF_LINK0|IFF_LINK1|IFF_LINK2);
/* Linux' multicast flag is in a different bit */
if (flags & IFF_MULTICAST) {
OpenPOWER on IntegriCloud