]> git.baikalelectronics.ru Git - kernel.git/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)
commita1ec62acaf326536b72ce3266c4891e2f2d6e766
treec7d9e721823d74a9d0c166274ad0564a3de9f541
parent0108afe93c9575cdae7fe58de0ac17c79aa4491b
[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