diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2005-09-01 11:29:09 +1000 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-31 22:39:43 -0400 |
commit | f0c129caa34b4bb0944bbb758b56c3d85b105557 (patch) | |
tree | 84f22d680065e39d11be61ecd992d6b8597704dd /drivers/net/acenic_firmware.h | |
parent | ec60beebed497691c97d674c1facac5ca3d7a4b3 (diff) |
[PATCH] iseries_veth: Use kobjects to track lifecycle of connection structs
The iseries_veth driver can attach to multiple vlans, which correspond to
multiple net devices. However there is only 1 connection between each LPAR,
so the connection structure may be shared by multiple net devices.
This makes module removal messy, because we can't deallocate the connections
until we know there are no net devices still using them. The solution is to
use ref counts on the connections, so we can delete them (actually stop) as
soon as the ref count hits zero.
This patch fixes (part of) a bug we were seeing with IPv6 sending probes to
a dead LPAR, which would then hang us forever due to leftover skbs.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/acenic_firmware.h')
0 files changed, 0 insertions, 0 deletions