git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
85cc012
)
bonding: fix socket id for LACP slave
author
Sergey Balabanov
<balabanovsv@ecotelecom.ru>
Fri, 7 Aug 2015 09:33:18 +0000
(12:33 +0300)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Sun, 9 Aug 2015 23:56:05 +0000
(
01:56
+0200)
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.
Fixes:
46fb43683679
("bond: add mode 4")
Signed-off-by: Sergey Balabanov <balabanovsv@ecotelecom.ru>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
No differences found