Sascha Hlusiak
298bf12ddb
sit: fix off-by-one in ipip6_tunnel_get_prl
...
When requesting all prl entries (kprl.addr == INADDR_ANY) and there are
more prl entries than there is space passed from userspace, the existing
code would always copy cmax+1 entries, which is more than can be handled.
This patch makes the kernel copy only exactly cmax entries.
Signed-off-by: Sascha Hlusiak <contact@saschahlusiak.de>
Acked-By: Fred L. Templin <Fred.L.Templin@boeing.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-09-30 16:39:27 -07:00
..
2009-08-31 15:30:31 +02:00
2009-09-24 07:21:04 -07:00
2008-10-29 12:52:50 -07:00
2009-09-14 17:03:05 -07:00
2009-09-14 17:03:05 -07:00
2008-10-29 12:50:24 -07:00
2008-11-25 17:35:18 -08:00
2009-09-14 17:03:05 -07:00
2009-09-14 17:03:05 -07:00
2009-05-20 17:26:23 -07:00
2009-09-14 17:03:05 -07:00
2009-06-03 02:51:04 -07:00
2009-02-26 03:35:13 -08:00
2009-07-30 18:52:15 -07:00
2009-02-06 00:49:55 -08:00
2009-09-14 17:03:05 -07:00
2009-09-02 18:05:33 -07:00
2009-09-24 15:39:22 -07:00
2009-09-30 16:12:20 -07:00
2009-09-14 17:03:05 -07:00
2009-09-30 16:12:20 -07:00
2009-06-12 18:01:50 +02:00
2008-04-05 22:33:38 +09:00
2009-09-15 02:37:40 -07:00
2009-06-23 04:31:07 -07:00
2009-09-26 20:28:07 -07:00
2009-06-03 02:51:04 -07:00
2009-08-05 10:42:58 -07:00
2009-09-14 17:03:05 -07:00
2009-09-30 16:12:20 -07:00
2009-09-14 17:03:05 -07:00
2009-09-24 07:21:04 -07:00
2009-09-30 16:39:27 -07:00
2009-06-24 15:13:48 +09:00
2009-08-02 12:54:30 -07:00
2009-09-15 01:30:10 -07:00
2009-09-14 17:03:05 -07:00
2009-09-30 16:12:20 -07:00
2009-09-30 16:12:20 -07:00
2009-09-14 17:03:05 -07:00
2008-11-25 17:59:52 -08:00
2008-08-06 02:40:25 -07:00
2008-01-28 14:53:52 -08:00
2007-10-10 16:55:54 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2009-08-04 20:32:16 -07:00
2009-02-21 23:37:10 -08:00
2009-06-23 04:31:07 -07:00