diff options
author | Jiri Pirko <jiri@mellanox.com> | 2019-09-30 11:48:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-01 23:47:19 +0200 |
commit | ff92741270bf8b6e78aa885f166b68c7a67ab13a (patch) | |
tree | 34ee884df47a3417597f2a70cb4e72061e7c8c7c /security | |
parent | net: procfs: use index hashlist instead of name hashlist (diff) | |
download | linux-ff92741270bf8b6e78aa885f166b68c7a67ab13a.tar.xz linux-ff92741270bf8b6e78aa885f166b68c7a67ab13a.zip |
net: introduce name_node struct to be used in hashlist
Introduce name_node structure to hold name of device and put it into
hashlist instead of putting there struct net_device directly. Add a
necessary infrastructure to manipulate the hashlist. This prepares
the code to use the same hashlist for alternative names introduced
later in this set.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions