netfilter: ebtables: split copy_everything_to_user into two functions
authorFlorian Westphal <fw@strlen.de>
Sun, 7 Feb 2010 01:11:34 +0000 (02:11 +0100)
committerFlorian Westphal <fw@strlen.de>
Tue, 16 Feb 2010 16:25:51 +0000 (17:25 +0100)
commit837395aa863142be7c38be0ca780aef21b12b49f
treebd6c6c86d5a364184c895b77f17d6757b116d827
parente788759f44b29e5b1bc27a265dece7dcfa4234af
netfilter: ebtables: split copy_everything_to_user into two functions

once CONFIG_COMPAT support is added to ebtables, the new
copy_counters_to_user function can be called instead of duplicating
code.

Also remove last use of MEMPRINT, as requested by Bart De Schuymer.

Signed-off-by: Florian Westphal <fw@strlen.de>
net/bridge/netfilter/ebtables.c