Sorry, forgot to attach.
Branimir
-----Original Message-----
From: Jakub Kicinski <[email protected]>
To: Branimir Rajtar <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: [PATCH] typos in rtnetlink
Date: Fri, 30 Oct 2020 09:01:24 -0700
On Fri, 30 Oct 2020 08:22:01 +0000 Branimir Rajtar wrote:
> Hi,
>
> I'm repeating my email since I had HTML in text and was treated as
> spam.
I don't see any patch, try git-send-email?
--- linux/include/uapi/linux/rtnetlink.h.orig 2020-10-28 10:07:56.088776443 +0100
+++ linux/include/uapi/linux/rtnetlink.h 2020-10-28 10:09:21.237857335 +0100
@@ -375,7 +375,7 @@ enum rtattr_type_t {
#define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
#define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
-/* RTM_MULTIPATH --- array of struct rtnexthop.
+/* RTA_MULTIPATH --- array of struct rtnexthop.
*
* "struct rtnexthop" describes all necessary nexthop information,
* i.e. parameters of path to a destination via this nexthop.
@@ -402,7 +402,7 @@ struct rtnexthop {
#define RTNH_COMPARE_MASK (RTNH_F_DEAD | RTNH_F_LINKDOWN | RTNH_F_OFFLOAD)
-/* Macros to handle hexthops */
+/* Macros to handle nexthops */
#define RTNH_ALIGNTO 4
#define RTNH_ALIGN(len) ( ((len)+RTNH_ALIGNTO-1) & ~(RTNH_ALIGNTO-1) )