X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fatm%2Flec_arpc.h;h=ec67435a40a6ffe172aa6d71c01396c5c652d832;hb=f6f993328b2abcab86a3c99d7bd9f2066ab03d36;hp=0230ca148c774d3293a588ead933a9b99eaa2296;hpb=1c9d3e72a7164c590437f2ab6c2c4f6da91f1703;p=karo-tx-linux.git diff --git a/net/atm/lec_arpc.h b/net/atm/lec_arpc.h index 0230ca148c77..ec67435a40a6 100644 --- a/net/atm/lec_arpc.h +++ b/net/atm/lec_arpc.h @@ -11,7 +11,7 @@ #include struct lec_arp_table { - struct lec_arp_table *next; /* Linked entry list */ + struct hlist_node next; /* Linked entry list */ unsigned char atm_addr[ATM_ESA_LEN]; /* Atm address */ unsigned char mac_addr[ETH_ALEN]; /* Mac address */ int is_rdesc; /* Mac address is a route descriptor */ @@ -24,9 +24,6 @@ struct lec_arp_table { void (*old_recv_push) (struct atm_vcc *vcc, struct sk_buff *skb); /* Push that leads to daemon */ - void (*old_close) (struct atm_vcc *vcc); - /* We want to see when this vcc gets closed */ - unsigned long last_used; /* For expiry */ unsigned long timestamp; /* Used for various timestamping things: * 1. FLUSH started @@ -50,6 +47,7 @@ struct lec_arp_table { * the length of the tlvs array */ struct sk_buff_head tx_wait; /* wait queue for outgoing packets */ + atomic_t usage; /* usage count */ }; /*