From: Alex Sidorenko <alexandre.sidore...@hpe.com> Date: Wed, 05 Oct 2016 09:06:04 -0400
> Roundrobin runner of team driver uses 'unsigned int' variable to count the > number of sent_packets. > Later it is passed to a subroutine team_num_to_port_index(struct team *team, > int num) as > 'num' and when we reach MAXINT (2**31-1), 'num' becomes negative. > > This leads to using incorrect hash-bucket for port lookup and as a result, > packets are dropped. The fix > consists of changing 'int num' to 'unsigned int num'. Testing of a fixed > kernel shows that there > is no packet drop anymore. > > > Signed-off-by: Alex Sidorenko <alexandre.sidore...@hpe.com> This patch has been corrupted by your email client, for example it has transformed TAB charactes into spaces. Please fix this up, email a test patch to yourself, and only resubmit this patch to the mailing list when you are able to successfully apply the test patch you send to yourself. Thanks.