]> git.baikalelectronics.ru Git - kernel.git/commit
net: Restore NETIF_F_* bit ordering.
authorDavid Miller <davem@davemloft.net>
Thu, 2 May 2013 08:31:32 +0000 (04:31 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 2 May 2013 14:34:58 +0000 (07:34 -0700)
commit1dfd751dd5c430e9ea3ebf1453ccc2736ce5065d
treee440f4a1605a8d74d3d583c3a8796d0a12c13792
parent2a7b8cfcbb621987024345d7e0384e7015315977
net: Restore NETIF_F_* bit ordering.

Commit 599c223e2f49 ("net: vlan: add 802.1ad support") added some new
NETIF_F_* features bits, but it added them in the middle of existing
values.

Userland depends upon the flag bits via the per-netdevice 'flags' sysfs
file.

So restore the previous ordering by adding the new flags at the end.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/netdev_features.h