* [PATCH 2.6 2/6]: Remove skb_linearize in ip6tables
@ 2005-01-11 12:49 Patrick McHardy
0 siblings, 0 replies; only message in thread
From: Patrick McHardy @ 2005-01-11 12:49 UTC (permalink / raw)
To: David S. Miller; +Cc: Netfilter Development Mailinglist
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: 02.diff --]
[-- Type: text/x-patch, Size: 1755 bytes --]
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2005/01/11 03:42:12+01:00 kaber@coreworks.de
# [NETFILTER]: Remove skb_linearize in ip6tables
#
# Signed-off-by: Patrick McHardy <kaber@trash.net>
#
# net/ipv6/netfilter/ip6table_mangle.c
# 2005/01/11 03:42:05+01:00 kaber@coreworks.de +0 -4
# [NETFILTER]: Remove skb_linearize in ip6tables
#
# Signed-off-by: Patrick McHardy <kaber@trash.net>
#
# net/ipv6/netfilter/ip6_tables.c
# 2005/01/11 03:42:05+01:00 kaber@coreworks.de +0 -4
# [NETFILTER]: Remove skb_linearize in ip6tables
#
# Signed-off-by: Patrick McHardy <kaber@trash.net>
#
diff -Nru a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c
--- a/net/ipv6/netfilter/ip6_tables.c 2005-01-11 13:39:42 +01:00
+++ b/net/ipv6/netfilter/ip6_tables.c 2005-01-11 13:39:42 +01:00
@@ -366,10 +366,6 @@
void *table_base;
struct ip6t_entry *e, *back;
- /* FIXME: Push down to extensions --RR */
- if (skb_is_nonlinear(*pskb) && skb_linearize(*pskb, GFP_ATOMIC) != 0)
- return NF_DROP;
-
/* Initialization */
indev = in ? in->name : nulldevname;
outdev = out ? out->name : nulldevname;
diff -Nru a/net/ipv6/netfilter/ip6table_mangle.c b/net/ipv6/netfilter/ip6table_mangle.c
--- a/net/ipv6/netfilter/ip6table_mangle.c 2005-01-11 13:39:42 +01:00
+++ b/net/ipv6/netfilter/ip6table_mangle.c 2005-01-11 13:39:42 +01:00
@@ -165,10 +165,6 @@
}
#endif
- /* FIXME: Push down to extensions --RR */
- if (skb_is_nonlinear(*pskb) && skb_linearize(*pskb, GFP_ATOMIC) != 0)
- return NF_DROP;
-
/* save source/dest address, nfmark, hoplimit, flowlabel, priority, */
memcpy(&saddr, &(*pskb)->nh.ipv6h->saddr, sizeof(saddr));
memcpy(&daddr, &(*pskb)->nh.ipv6h->daddr, sizeof(daddr));
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-11 12:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-11 12:49 [PATCH 2.6 2/6]: Remove skb_linearize in ip6tables Patrick McHardy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.