[dpdk-dev] [PATCH v2] bonding: 8023ad: fix incorrect typecast of socket
thomas.monjalon at 6wind.com
Mon Aug 10 01:55:03 CEST 2015
> > On slave activation in LACP (8023AD) SOCKET_ANY_ID (which is -1)
> > is being casted to unsigned char and then to signed int.
> > The result is that socket_id has value of 255, not -1.
> > This results to memory allocation failure.
> > Signed-off-by: Sergey Balabanov <balabanovsv at ecotelecom.ru>
> Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
Fixes: 46fb43683679 ("bond: add mode 4")
Please Sergey, do not set the status as "Accepted" yourself in patchwork.
The "Accepted" status means that it has been applied. Setting it before could
result in having your patch forgotten.
More information about the dev