mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-21 03:54:59 +02:00
geoip: remove unused code and unneeded per-info refcount
- freeing userspace memory is not the kernel's job, really. - checkentry is called exactly once, as is destroy.
This commit is contained in:
@@ -40,11 +40,6 @@ struct xt_geoip_match_info {
|
||||
|
||||
/* Used internally by the kernel */
|
||||
struct geoip_info *mem[XT_GEOIP_MAX];
|
||||
u_int8_t *refcount;
|
||||
|
||||
/* not implemented yet:
|
||||
void *fini;
|
||||
*/
|
||||
};
|
||||
|
||||
#define COUNTRY(cc) (cc >> 8), (cc & 0x00FF)
|
||||
|
Reference in New Issue
Block a user