1
0
Files
linux/include/linux
Alex Sidorenko 21d9629a7a Fixing a bug in team driver due to incorrect 'unsigned int' to 'int' conversion
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.sidorenko@hpe.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-07 23:50:39 -04:00
..
2016-09-10 17:31:39 +05:30
2016-10-03 23:22:47 -04:00
2016-08-16 09:16:51 -06:00
2016-08-07 14:41:02 -06:00
2016-08-07 14:41:02 -06:00
2016-08-16 09:16:51 -06:00
2016-09-29 01:35:35 -04:00
2016-08-11 09:41:35 -06:00
2016-08-02 19:35:24 -04:00
2016-09-01 11:11:59 +02:00
2016-07-22 09:07:02 +02:00
2016-09-20 23:20:32 +02:00
2016-09-22 14:53:45 +02:00
2016-09-15 16:49:39 +02:00
2016-09-14 12:57:43 -07:00
2016-09-27 12:33:47 +02:00
2016-09-14 21:28:09 +02:00
2016-08-04 10:16:55 +09:30
2016-07-29 12:17:52 -07:00
2016-08-28 23:32:41 -04:00
2016-07-28 16:07:41 -07:00
2016-09-08 15:01:10 -07:00
2016-09-08 15:01:10 -07:00
2016-09-20 04:43:36 -04:00
2016-07-26 16:19:19 -07:00
2016-09-22 01:34:20 -04:00
2016-09-06 18:30:20 +02:00
2016-08-28 23:44:55 -04:00
2016-09-21 00:23:00 -04:00
2016-07-19 17:43:38 +03:00
2016-09-17 14:05:30 -07:00
2016-07-26 16:19:19 -07:00
2016-09-30 10:54:03 +02:00