Re: [PATCH, take2] netfilter : struct xt_table_info diet

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Patrick McHardy
Date: Thursday, November 15, 2007 - 5:41 am

Eric Dumazet wrote:


I fixed a compilation error with CONFIG_COMPAT and applied it, thanks
Eric. One question though:




We need to make sure offsetof(struct xt_table_info, entries) +
nr_cpu_ids * sizeof(char *) doesn't overflow, so why doesn't it
use nr_cpu_ids here as well?
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH, take2] netfilter : struct xt_table_info diet, Eric Dumazet, (Wed Nov 14, 2:50 pm)
Re: [PATCH, take2] netfilter : struct xt_table_info diet, Patrick McHardy, (Thu Nov 15, 5:41 am)
Re: [PATCH, take2] netfilter : struct xt_table_info diet, Patrick McHardy, (Thu Nov 15, 8:58 am)
Re: [PATCH, take2] netfilter : struct xt_table_info diet, Simon Horman, (Mon Nov 19, 11:32 pm)
Re: [PATCH, take2] netfilter : struct xt_table_info diet, Patrick McHardy, (Tue Nov 20, 12:50 am)
Re: [PATCH, take2] netfilter : struct xt_table_info diet, Patrick McHardy, (Tue Nov 20, 12:54 am)