|
@@ -39,7 +39,7 @@ MODULE_DESCRIPTION("{ip,ip6,arp,eb}_tables backend module");
|
|
|
struct compat_delta {
|
|
|
struct compat_delta *next;
|
|
|
unsigned int offset;
|
|
|
- short delta;
|
|
|
+ int delta;
|
|
|
};
|
|
|
|
|
|
struct xt_af {
|
|
@@ -439,10 +439,10 @@ void xt_compat_flush_offsets(u_int8_t af)
|
|
|
}
|
|
|
EXPORT_SYMBOL_GPL(xt_compat_flush_offsets);
|
|
|
|
|
|
-short xt_compat_calc_jump(u_int8_t af, unsigned int offset)
|
|
|
+int xt_compat_calc_jump(u_int8_t af, unsigned int offset)
|
|
|
{
|
|
|
struct compat_delta *tmp;
|
|
|
- short delta;
|
|
|
+ int delta;
|
|
|
|
|
|
for (tmp = xt[af].compat_offsets, delta = 0; tmp; tmp = tmp->next)
|
|
|
if (tmp->offset < offset)
|