diff mbox series

[net] net: rtnetlink: fix a typo fbd -> fdb

Message ID 20191029115932.399-1-nikolay@cumulusnetworks.com
State Accepted
Delegated to: David Miller
Headers show
Series [net] net: rtnetlink: fix a typo fbd -> fdb | expand

Commit Message

Nikolay Aleksandrov Oct. 29, 2019, 11:59 a.m. UTC
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>
---
 net/core/rtnetlink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Ahern Oct. 29, 2019, 6:11 p.m. UTC | #1
On 10/29/19 5:59 AM, Nikolay Aleksandrov wrote:
> 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>
> ---
>  net/core/rtnetlink.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
> index 1ee6460f8275..05bdf5908472 100644
> --- a/net/core/rtnetlink.c
> +++ b/net/core/rtnetlink.c
> @@ -3916,7 +3916,7 @@ static int valid_fdb_dump_strict(const struct nlmsghdr *nlh,
>  	ndm = nlmsg_data(nlh);
>  	if (ndm->ndm_pad1  || ndm->ndm_pad2  || ndm->ndm_state ||
>  	    ndm->ndm_flags || ndm->ndm_type) {
> -		NL_SET_ERR_MSG(extack, "Invalid values in header for fbd dump request");
> +		NL_SET_ERR_MSG(extack, "Invalid values in header for fdb dump request");
>  		return -EINVAL;
>  	}
>  
> 

thanks, Nik.

Reviewed-by: David Ahern <dsahern@gmail.com>
David Miller Oct. 30, 2019, 1:14 a.m. UTC | #2
From: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Date: Tue, 29 Oct 2019 13:59:32 +0200

> 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>

Applied, thanks.
diff mbox series

Patch

diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index 1ee6460f8275..05bdf5908472 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -3916,7 +3916,7 @@  static int valid_fdb_dump_strict(const struct nlmsghdr *nlh,
 	ndm = nlmsg_data(nlh);
 	if (ndm->ndm_pad1  || ndm->ndm_pad2  || ndm->ndm_state ||
 	    ndm->ndm_flags || ndm->ndm_type) {
-		NL_SET_ERR_MSG(extack, "Invalid values in header for fbd dump request");
+		NL_SET_ERR_MSG(extack, "Invalid values in header for fdb dump request");
 		return -EINVAL;
 	}