diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2019-10-29 07:59:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-29 21:13:38 -0400 |
commit | 8b73018fe44521c1cf59d7bac53624c87d3f10e2 (patch) | |
tree | ed50b98e1ed8b3ed64d710feeed8e81813d33cf0 /net | |
parent | 301428ea3708188dc4a243e6e6b46c03b46a0fbc (diff) |
net: rtnetlink: fix a typo fbd -> fdb
A simple typo fix in the nl error message (fbd -> fdb).
CC: David Ahern <dsahern@gmail.com>
Fixes: 8c6e137fbc7f ("rtnetlink: Update rtnl_fdb_dump for strict data checking")
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/rtnetlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index ba4b4048ec3e..c81cd80114d9 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c | |||
@@ -3917,7 +3917,7 @@ static int valid_fdb_dump_strict(const struct nlmsghdr *nlh, | |||
3917 | ndm = nlmsg_data(nlh); | 3917 | ndm = nlmsg_data(nlh); |
3918 | if (ndm->ndm_pad1 || ndm->ndm_pad2 || ndm->ndm_state || | 3918 | if (ndm->ndm_pad1 || ndm->ndm_pad2 || ndm->ndm_state || |
3919 | ndm->ndm_flags || ndm->ndm_type) { | 3919 | ndm->ndm_flags || ndm->ndm_type) { |
3920 | NL_SET_ERR_MSG(extack, "Invalid values in header for fbd dump request"); | 3920 | NL_SET_ERR_MSG(extack, "Invalid values in header for fdb dump request"); |
3921 | return -EINVAL; | 3921 | return -EINVAL; |
3922 | } | 3922 | } |
3923 | 3923 | ||