[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6bce9e01.84f02.188b9889498.Coremail.linma@zju.edu.cn>
Date: Wed, 14 Jun 2023 18:51:55 +0800 (GMT+08:00)
From: "Lin Ma" <linma@....edu.cn>
To: "Tung Quang Nguyen" <tung.q.nguyen@...tech.com.au>
Cc: "davem@...emloft.net" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"tipc-discussion@...ts.sourceforge.net" <tipc-discussion@...ts.sourceforge.net>
Subject: RE: [PATCH v1] tipc: resize nlattr array to correct size
>
> Which branch (net or net-next) do you want to apply this change to ?
>
I don't really know the difference :D
Since this a not any new feature patch but just solving a typo like bug. I guess
it can go to (net) branch instead the (net-next) ?
Regards
Lin
> > net/tipc/bearer.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> >diff --git a/net/tipc/bearer.c b/net/tipc/bearer.c
> >index 53881406e200..cdcd2731860b 100644
> >--- a/net/tipc/bearer.c
> >+++ b/net/tipc/bearer.c
> >@@ -1258,7 +1258,7 @@ int tipc_nl_media_get(struct sk_buff *skb, struct genl_info *info)
> > struct tipc_nl_msg msg;
> > struct tipc_media *media;
> > struct sk_buff *rep;
> >- struct nlattr *attrs[TIPC_NLA_BEARER_MAX + 1];
> >+ struct nlattr *attrs[TIPC_NLA_MEDIA_MAX + 1];
> >
> > if (!info->attrs[TIPC_NLA_MEDIA])
> > return -EINVAL;
> >@@ -1307,7 +1307,7 @@ int __tipc_nl_media_set(struct sk_buff *skb, struct genl_info *info)
> > int err;
> > char *name;
> > struct tipc_media *m;
> >- struct nlattr *attrs[TIPC_NLA_BEARER_MAX + 1];
> >+ struct nlattr *attrs[TIPC_NLA_MEDIA_MAX + 1];
> >
> > if (!info->attrs[TIPC_NLA_MEDIA])
> > return -EINVAL;
> >--
> >2.17.1
> >
Powered by blists - more mailing lists