Skip to content
Commit 3654654f authored by Jan Engelhardt's avatar Jan Engelhardt Committed by David S. Miller
Browse files

netlink: let nlmsg and nla functions take pointer-to-const args



The changed functions do not modify the NL messages and/or attributes
at all. They should use const (similar to strchr), so that callers
which have a const nlmsg/nlattr around can make use of them without
casting.

While at it, constify a data array.

Signed-off-by: default avatarJan Engelhardt <jengelh@medozas.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9d82ca98
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment