]> err.no Git - linux-2.6/commit
[NETFILTER]: ip_tables: account for struct ipt_entry/struct compat_ipt_entry size...
authorPatrick McHardy <kaber@trash.net>
Tue, 18 Dec 2007 05:47:14 +0000 (21:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:58:30 +0000 (14:58 -0800)
commit30c08c41be75145b8850ea14b2d5ee4ee4b705d8
treec7d9e721823d74a9d0c166274ad0564a3de9f541
parent89c002d66aafab93814b38d8dae43fa50aec390a
[NETFILTER]: ip_tables: account for struct ipt_entry/struct compat_ipt_entry size diff

Account for size differences when dumping entries or calculating the
entry positions. This doesn't actually make any difference for IPv4
since the structures have the same size, but its logically correct
and needed for IPv6.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_tables.c