Skip to content

Commit

Permalink
[NETFILTER] nat: remove bogus structure member
Browse files Browse the repository at this point in the history
When 'rustynat' was merged in 2.6.12, the use of the "helper" pointer of
struct ipt_nat_info was obsoleted, but the pointer not removed from the
struct.

This patch removes the pointer, thereby yet again shrinking struct
ip_conntrack.

Discovered-by: Rusty Russell <rusty@netfilter.org>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Harald Welte authored and David S. Miller committed Oct 11, 2005
1 parent ebe0bbf commit b3a91d0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/linux/netfilter_ipv4/ip_nat.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ extern rwlock_t ip_nat_lock;
struct ip_nat_info
{
struct list_head bysource;

/* Helper (NULL if none). */
struct ip_nat_helper *helper;

struct ip_nat_seq seq[IP_CT_DIR_MAX];
};

Expand Down

0 comments on commit b3a91d0

Please sign in to comment.