diff options
author | Jiri Pirko <jiri@mellanox.com> | 2016-04-08 19:12:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-08 21:40:08 +0200 |
commit | 1fc2257e837f86c2688fdcc5c8810b73c133794d (patch) | |
tree | 83ad768f616aac1b0e5e9f0e2c9f09dbdfcdc7d6 /kernel/bpf | |
parent | Merge branch 'mlxsw-next' (diff) | |
download | linux-1fc2257e837f86c2688fdcc5c8810b73c133794d.tar.xz linux-1fc2257e837f86c2688fdcc5c8810b73c133794d.zip |
devlink: share user_ptr pointer for both devlink and devlink_port
Ptr to devlink structure can be easily obtained from
devlink_port->devlink. So share user_ptr[0] pointer for both and leave
user_ptr[1] free for other users.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions