Re: [PATCH net v2]bonding: fix send_peer_notif data truncation

2021-01-28 Thread Jakub Kicinski
Please make sure you CC the author of the original code. On Wed, 27 Jan 2021 03:57:22 + liaichun wrote: > send_peer_notif is u8, the value of this parameter is obtained from > u8*int, it's easy to be truncated. And in practice, more than u8(256) > characters are used. Did you find this thr

[PATCH net v2]bonding: fix send_peer_notif data truncation

2021-01-26 Thread liaichun
send_peer_notif is u8, the value of this parameter is obtained from u8*int, it's easy to be truncated. And in practice, more than u8(256) characters are used. Fixes: 07a4ddec3ce9 ("bonding: add an option to specify a delay between peer notifications") Signed-off-by: Aichun Li --- include/net