[VLAN]: Keep track of number of QoS mappings
authorPatrick McHardy <kaber@trash.net>
Wed, 13 Jun 2007 19:07:22 +0000 (12:07 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:15:01 +0000 (22:15 -0700)
commitb020cb488586f982f40eb257a32e92a4de710d65
treea6476a48f969688256079c53b02d8ab20e1d7719
parent734423cf38021966a5d3bd5f5c6aaecaf32fb4ac
[VLAN]: Keep track of number of QoS mappings

Keep track of the number of configured ingress/egress QoS mappings to
avoid iteration while calculating the netlink attribute size.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_vlan.h
net/8021q/vlan_dev.c