Skip to contentSkip to conversation

NETFILTER: remove bogus structure member

PATCH Applied Harald Welte 2 participants 2 messages Oct 9, 2005 – Oct 10, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 4/5 NETFILTER: remove bogus structure member

Hi Dave,

please apply this fix to you 2.6.14 tree.

[NETFILTER] nat: remove bogus structure member

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.

---
commit 5382af42cb3fed0aa6658b8de20a966f8498ac28
tree 96ca699fc1869bad7c812802a9e9f77dfae9702d
parent ff438dea2c776f065b7260b850a19d5f7a0bfec9
author Harald Welte <[email protected]> Sun, 09 Oct 2005 23:29:06 +0200 committer Harald Welte <[email protected]> Sun, 09 Oct 2005 23:29:06 +0200

 include/linux/netfilter_ipv4/ip_nat.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
include/linux/netfilter_ipv4/ip_nat.h +0 -4
@@ -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];
 };
 
Signature · 5 lines
- Harald Welte <[email protected]>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
#1 lore raw

From: Harald Welte <[email protected]>
Date: Mon, 10 Oct 2005 00:15:46 +0200

Quoted 11 lines

[NETFILTER] nat: remove bogus structure member

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.

Applied, thanks.