diff options
author | Chuck Ebbert <76306.1226@compuserve.com> | 2007-01-04 12:17:44 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-01-04 12:17:44 -0800 |
commit | 44f9a2fdc48ccb8bb510b6e1210bf15b3e10afdb (patch) | |
tree | d7215dd5b39707affd4ce0e70d313335ffd85611 /net/ipv6 | |
parent | bbdc176a2f39913063aaaf95bc27e4b18fd14953 (diff) |
[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>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions