Skip to content
Snippets Groups Projects
Commit eff74233 authored by Taehee Yoo's avatar Taehee Yoo Committed by David S. Miller
Browse files

net: core: introduce struct netdev_nested_priv for nested interface infrastructure


Functions related to nested interface infrastructure such as
netdev_walk_all_{ upper | lower }_dev() pass both private functions
and "data" pointer to handle their own things.
At this point, the data pointer type is void *.
In order to make it easier to expand common variables and functions,
this new netdev_nested_priv structure is added.

In the following patch, a new member variable will be added into this
struct to fix the lockdep issue.

Signed-off-by: default avatarTaehee Yoo <ap420073@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fe8300fd
No related branches found
Tags v3.18-rc6
Loading
Showing
with 183 additions and 95 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment