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:
Jan Engelhardt
2008-03-17 12:49:28 +01:00
parent 3554e348bc
commit f1615a03f3
3 changed files with 0 additions and 67 deletions

View File

@@ -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)