On Sunday, June 06/23/19, 2019 at 11:34:23 -0700, David Miller wrote:
> From: Raju Rangoju
> Date: Fri, 21 Jun 2019 20:06:33 +0530
>
> > +struct mps_entries_ref {
> > + struct list_head list;
> > + u8 addr[ETH_ALEN];
> > + u8 mask[ETH_ALEN];
> > + u16 idx;
> > + atomic_t refcnt;
> > +};
From: Raju Rangoju
Date: Fri, 21 Jun 2019 20:06:33 +0530
> +struct mps_entries_ref {
> + struct list_head list;
> + u8 addr[ETH_ALEN];
> + u8 mask[ETH_ALEN];
> + u16 idx;
> + atomic_t refcnt;
> +};
Since you're making this change, please use refcnt_t.
Remove existing mps refcounting code which was
added only for encap filters and add necessary
data structures/functions to support mps reference
counting for all the mac filters. Also add wrapper
functions for allocating and freeing encap mac
filters.
Signed-off-by: Raju Rangoju
---
drivers/net/