atm: clip: Use device neigh support on top of "arp_tbl".
Instead of instantiating an entire new neigh_table instance just for ATM handling, use the neigh device private facility. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
da6a8fa027
commit
32092ecf06
@ -41,17 +41,12 @@ struct atmarp_entry {
|
||||
struct neighbour *neigh; /* neighbour back-pointer */
|
||||
};
|
||||
|
||||
|
||||
#define PRIV(dev) ((struct clip_priv *) netdev_priv(dev))
|
||||
|
||||
|
||||
struct clip_priv {
|
||||
int number; /* for convenience ... */
|
||||
spinlock_t xoff_lock; /* ensures that pop is atomic (SMP) */
|
||||
struct net_device *next; /* next CLIP interface */
|
||||
};
|
||||
|
||||
|
||||
extern struct neigh_table *clip_tbl_hook;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user