Herbert Xu
0eca93bcf7
tun: Fix crash with non-GSO users
...
When I made the tun driver use non-linear packets as the preferred
option, it broke non-GSO users because they would end up allocating
a completely non-linear packet, which triggers a crash when we call
eth_type_trans.
This patch reverts non-GSO users to using linear packets and adds
a check to ensure that GSO users can't cause crashes in the same
way.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-14 02:09:43 -07:00
..
2009-04-11 12:45:20 -07:00
2009-04-13 04:22:04 -04:00
2009-04-07 08:31:11 -07:00
2009-04-07 08:31:12 -07:00
2009-04-08 14:13:04 +02:00
2009-04-07 08:31:03 -07:00
2009-04-07 08:31:11 -07:00
2009-04-07 08:31:11 -07:00
2009-04-07 08:31:11 -07:00
2009-04-03 15:24:35 -07:00
2009-04-05 02:14:15 -04:00
2009-04-03 15:25:44 -07:00
2009-04-07 08:44:43 -07:00
2009-04-13 17:02:14 +02:00
2009-04-08 14:13:04 +02:00
2009-04-07 08:31:10 -07:00
2009-04-07 08:31:11 -07:00
2009-04-09 16:42:26 -07:00
2009-04-08 00:00:33 -07:00
2009-04-06 18:05:43 -07:00
2009-04-08 14:13:48 +01:00
2009-04-09 00:27:17 +01:00
2009-04-10 12:01:22 -07:00
2009-04-07 08:31:11 -07:00
2009-04-07 08:31:11 -07:00
2009-04-05 00:32:25 +02:00
2009-04-07 08:31:11 -07:00
2009-04-08 20:45:51 +02:00
2009-04-06 15:00:00 -07:00
2009-04-14 02:09:43 -07:00
2009-04-05 11:04:19 -07:00
2009-04-07 08:44:06 -07:00
2009-04-13 11:35:50 -07:00
2009-04-07 18:18:42 -04:00
2009-04-07 08:31:12 -07:00
2009-04-08 17:45:02 -07:00
2009-04-07 08:31:11 -07:00
2009-04-05 11:15:54 -07:00
2009-04-13 11:37:07 -07:00
2009-04-13 08:17:52 -07:00
2009-04-07 08:31:10 -07:00
2009-04-07 08:31:07 -07:00
2009-04-07 08:44:05 -07:00
2009-04-08 15:24:09 -07:00
2009-04-07 08:31:11 -07:00
2009-04-07 08:31:09 -07:00
2009-04-05 00:32:22 +02:00
2009-04-08 06:21:57 +00:00
2009-04-05 10:33:07 -07:00