Gleb Smirnoff 25af0bb50e Add some initial locking to gif(4). It doesn't covers the whole driver,
however IPv4-in-IPv4 tunnels are now stable on SMP. Details:

- Add per-softc mutex.
- Hold the mutex on output.

The main problem was the rtentry, placed in softc. It could be
freed by ip_output(). Meanwhile, another thread being in
in_gif_output() can read and write this rtentry.

Reported by:	many
Tested by:	Alexander Shiryaev <aixp mail.ru>
2006-01-30 08:39:09 +00:00
..
2005-11-24 14:17:35 +00:00
2005-10-21 16:23:01 +00:00
2005-08-26 15:27:18 +00:00
2005-11-17 12:56:40 +00:00
2006-01-24 13:38:06 +00:00
2006-01-21 10:44:34 +00:00
2006-01-23 20:10:49 +00:00
2005-08-24 02:47:16 +00:00