Ben Greear wrote:
I was able to reproduce a reference leak with my instrumented code
(plus my regular set of network patches, so problem could still be me).
The reference lost was acquired here:
struct neighbour *neigh_create(struct neigh_table *tbl, const void *pkey,
struct net_device *dev)
{
u32 hash_val;
int key_len = tbl->key_len;
int error;
struct neighbour *n1, *rc, *n = neigh_alloc(tbl);
if (!n) {
rc = ERR_PTR(-ENOBUFS);
goto out;
}
memcpy(n->primary_key, pkey, key_len);
n->dev = dev;
dev_hold(dev, &(n->dev));
I reproduced this same problem with 802.1Q VLAN interfaces, though
this kernel still has my other patches in it. Trying to disentangle
my git branches and will run some tests on mostly virgin kernel
tomorrow..
Thanks,
Ben
--
Ben Greear <[EMAIL PROTECTED]>
Candela Technologies Inc http://www.candelatech.com
-
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