aboutsummaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2013-11-05 12:52:56 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2013-11-05 12:52:56 +0000
commitaf50ea380f6d56a33720eee1fd8b16e0766833c8 (patch)
tree5b25ff64181cb8017ff8829c41ad7f6ce5d87326 /sys/compat
parent5fb009bda7883377d7d44fa67201f6942ecfc602 (diff)
downloadsrc-af50ea380f6d56a33720eee1fd8b16e0766833c8.tar.gz
src-af50ea380f6d56a33720eee1fd8b16e0766833c8.zip
Axe IFF_SMART. Fortunately this layering violating flag was never used,
it was just declared.
Notes
Notes: svn path=/head/; revision=257699
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 0600f91221a1..48afc09897bd 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) {