Skip to content
Commit a9cd3439 authored by David Ahern's avatar David Ahern Committed by David S. Miller
Browse files

neighbor: Use nda_policy for validating attributes in adds and dump requests



Add NDA_PROTOCOL to nda_policy and use the policy for attribute parsing and
validation for adding neighbors and in dump requests. Remove the now duplicate
checks on nla_len.

Signed-off-by: default avatarDavid Ahern <dsahern@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d129a45b
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