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-07 08:39:25 -08:00
2006-11-22 14:57:56 +00:00
2005-04-16 15:20:36 -07:00
2006-11-22 14:57:56 +00:00
2006-03-20 22:56:38 -08:00
2005-04-16 15:20:36 -07:00
2006-06-30 19:25:36 +02:00