netdev: Factor restoring flags into new "struct netdev_saved_flags".
authorBen Pfaff <blp@nicira.com>
Fri, 10 May 2013 15:55:25 +0000 (08:55 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 10 May 2013 18:24:07 +0000 (11:24 -0700)
commit4b60911067a82fbdfa87b7c2824412da20287ed8
treeaa0447373eff8e4ca9cc67c3e5361bf3437dfa2c
parent0ad90c845b7e82090a846fbe9f927e8d1c84cfc9
netdev: Factor restoring flags into new "struct netdev_saved_flags".

This gets rid of the only per-instance data in "struct netdev", which
will make it possible to merge "struct netdev_dev" into "struct netdev" in
a later commit.

Ed Maste wrote the netdev-bsd changes in this commit.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Co-authored-by: Ed Maste <emaste@freebsd.org>
Signed-off-by: Ed Maste <emaste@freebsd.org>
Tested-by: Ed Maste <emaste@freebsd.org>
lib/dpif-netdev.c
lib/netdev-bsd.c
lib/netdev-dummy.c
lib/netdev-linux.c
lib/netdev-provider.h
lib/netdev-vport.c
lib/netdev.c
lib/netdev.h
ofproto/ofproto.c
utilities/ovs-dpctl.c
vswitchd/bridge.c