[PATCH net-next] net: add extack arg for link ops

David Ahern dsahern at gmail.com
Tue Aug 3 07:32:48 PDT 2021


On 8/3/21 6:02 AM, Rocco Yue wrote:
> Pass extack arg to validate_linkmsg and validate_link_af callbacks.
> If a netlink attribute has a reject_message, use the extended ack
> mechanism to carry the message back to user space.
> 
> Signed-off-by: Rocco Yue <rocco.yue at mediatek.com>
> ---
>  include/net/rtnetlink.h | 3 ++-
>  net/core/rtnetlink.c    | 9 +++++----
>  net/ipv4/devinet.c      | 5 +++--
>  net/ipv6/addrconf.c     | 5 +++--
>  4 files changed, 13 insertions(+), 9 deletions(-)
> 

Reviewed-by: David Ahern <dsahern at kernel.org>



More information about the Linux-mediatek mailing list