diff options
| author | Stephen Hemminger <shemminger@osdl.org> | 2004-02-05 21:39:01 -0800 |
|---|---|---|
| committer | Stephen Hemminger <shemminger@osdl.org> | 2004-02-05 21:39:01 -0800 |
| commit | fa13a7b8fd68f4c00fc8c6905261b50a4733d8c3 (patch) | |
| tree | 731eca269160cb04ee440e2b54adea4345609665 /include/linux | |
| parent | cc1b2ba84162afbb7b11d230a1062bfba12adc24 (diff) | |
[NET]: Hash netdevices by name for faster lookup.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 84b6fd41e2d2..11723ab7e2c5 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -375,6 +375,8 @@ struct net_device atomic_t refcnt; /* delayed register/unregister */ struct list_head todo_list; + /* device name hash chain */ + struct hlist_node name_hlist; /* register/unregister state machine */ enum { NETREG_UNINITIALIZED=0, |
