These patches convert VLAN to the rtnl_link API as a more complex example.
The patches need some more work, not all VLAN features are supported yet.

 include/linux/if_link.h   |   25 +
 include/linux/if_vlan.h   |    8 
 include/linux/rtnetlink.h |    3 
 net/8021q/Makefile        |    2 
 net/8021q/vlan.c          |  698 +++++++++++++++++++++-------------------------
 net/8021q/vlan.h          |   22 +
 net/8021q/vlan_dev.c      |  170 +++--------
 net/8021q/vlan_netlink.c  |  194 ++++++++++++
 net/8021q/vlanproc.c      |    4 
 9 files changed, 627 insertions(+), 499 deletions(-)

Patrick McHardy (8):
      [VLAN]: Move device lookup to ioctl handler
      [VLAN]: Remove unregister_vlan_dev wrapper
      [VLAN]: Add device init callback
      [VLAN]: Move vlan_group allocation to seperate function
      [VLAN]: Split up device creation
      [VLAN]: Use 32 bit value for skb->priority mapping
      [VLAN]: Keep track of number of QoS mappings
      [VLAN]: Use rtnl_link API
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to