Project

General

Profile

Bug #154 » 0001-batman-adv-unify-hash_entry-field-position-in-tt_loc.patch

Antonio Quartulli, 10/23/2011 09:53 PM

View differences:

types.h
224 224

  
225 225
struct tt_local_entry {
226 226
	uint8_t addr[ETH_ALEN];
227
	struct hlist_node hash_entry;
227 228
	unsigned long last_seen;
228 229
	uint16_t flags;
229 230
	atomic_t refcount;
230 231
	struct rcu_head rcu;
231
	struct hlist_node hash_entry;
232 232
};
233 233

  
234 234
struct tt_global_entry {
235 235
	uint8_t addr[ETH_ALEN];
236
	struct hlist_node hash_entry; /* entry in the global table */
236 237
	struct orig_node *orig_node;
237 238
	uint8_t ttvn;
238 239
	uint16_t flags; /* only TT_GLOBAL_ROAM is used */
239 240
	unsigned long roam_at; /* time at which TT_GLOBAL_ROAM was set */
240 241
	atomic_t refcount;
241 242
	struct rcu_head rcu;
242
	struct hlist_node hash_entry; /* entry in the global table */
243 243
};
244 244

  
245 245
struct tt_change_node {
246
- 
(3-3/3)