[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE9FiQURBR=iTbksUzb_i23g6N56Acg2J8bab9zr1UcwT5tWzA@mail.gmail.com>
Date: Wed, 20 Mar 2013 14:01:09 -0700
From: Yinghai Lu <yinghai@...nel.org>
To: David Miller <davem@...emloft.net>, Zhang Rui <rui.zhang@...el.com>
Cc: yamato@...hat.com, netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] genetlink: trigger BUG_ON if a group name is too long
On Wed, Mar 20, 2013 at 9:07 AM, David Miller <davem@...emloft.net> wrote:
> From: Masatake YAMATO <yamato@...hat.com>
> Date: Tue, 19 Mar 2013 20:47:27 +0900
>
>> Trigger BUG_ON if a group name is longer than GENL_NAMSIZ.
>>
>> Signed-off-by: Masatake YAMATO <yamato@...hat.com>
>
> Applied, thanks.
catch one in
drivers/thermal/thermal_sys.c::genetlink_init
result = genl_register_mc_group(&thermal_event_genl_family,
&thermal_event_mcgrp);
and
static struct genl_multicast_group thermal_event_mcgrp = {
.name = THERMAL_GENL_MCAST_GROUP_NAME,
};
#define THERMAL_GENL_MCAST_GROUP_NAME "thermal_mc_group"
that string len 16.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists