Chuck Ebbert 44f9a2fdc4 [NETFILTER]: ebtables: don't compute gap before checking struct type
We cannot compute the gap until we know we have a 'struct ebt_entry' and
not 'struct ebt_entries'.  Failure to check can cause crash.

Tested-by: Santiago Garcia Mantinan <manty@manty.net>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-01-04 12:17:44 -08:00
..
2006-12-08 08:28:44 -08:00
2007-01-03 18:38:09 -08:00
2006-12-17 21:59:18 -08:00
2006-11-05 14:11:25 -08:00
2006-12-06 20:14:22 -08:00
2006-08-05 21:15:58 -07:00
2006-12-02 21:21:23 -08:00
2007-01-03 18:38:15 -08:00
2006-12-07 00:11:33 -08:00
2006-12-22 11:12:05 -08:00
2006-12-08 08:28:50 -08:00
2006-09-22 14:53:34 -07:00
2006-12-08 08:28:48 -08:00
2005-04-16 15:20:36 -07:00