brcompat: Fix netdevice refcount in non-2.6.18 when sysfs is available.
authorBen Pfaff <blp@nicira.com>
Sun, 15 Mar 2009 00:22:09 +0000 (17:22 -0700)
committerBen Pfaff <blp@nicira.com>
Sun, 15 Mar 2009 00:22:09 +0000 (17:22 -0700)
commitf727ba797853f3fc034b822392a1642067d9947e
treebd4cf5049b0a47678d1ad78d09f4fd5c00e0a2bf
parentf4720a36c319ba2c9286ad37bc8e770fc20e5a9b
brcompat: Fix netdevice refcount in non-2.6.18 when sysfs is available.

When sysfs is enabled, brcompat is responsible for releasing the netdevice
reference and freeing the net_bridge_port in brc_sysfs_del_if().  However,
when we're not building against 2.6.18, it was stubbed out to a function
that did nothing.
datapath/brc_sysfs.h
datapath/brc_sysfs_dp.c