Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150926
b: refs/heads/master
c: 746e6ad
h: refs/heads/master
v: v3
  • Loading branch information
John Dykstra authored and David S. Miller committed Jun 12, 2009
1 parent cc7065d commit 1c85281
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8981f01001c616f58f1623ecadfab8b1ed758da7
refs/heads/master: 746e6ad23cd6fec2edce056e014a0eabeffa838c
3 changes: 0 additions & 3 deletions trunk/Documentation/networking/operstates.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ ifinfomsg::if_flags & IFF_LOWER_UP:
ifinfomsg::if_flags & IFF_DORMANT:
Driver has signaled netif_dormant_on()

These interface flags can also be queried without netlink using the
SIOCGIFFLAGS ioctl.

TLV IFLA_OPERSTATE

contains RFC2863 state of the interface in numeric representation:
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -4209,7 +4209,7 @@ static int dev_ifsioc_locked(struct net *net, struct ifreq *ifr, unsigned int cm

switch (cmd) {
case SIOCGIFFLAGS: /* Get interface flags */
ifr->ifr_flags = dev_get_flags(dev);
ifr->ifr_flags = (short) dev_get_flags(dev);
return 0;

case SIOCGIFMETRIC: /* Get the metric on the interface
Expand Down

0 comments on commit 1c85281

Please sign in to comment.