]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit4ada8db38a44654446fe35ceb20a1972220e0f69
treee440f4a1605a8d74d3d583c3a8796d0a12c13792
parent20b4fb485227404329e41ad15588afad3df23050
net: Restore NETIF_F_* bit ordering.

Commit 8ad227ff89a7 ("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