Skip to contentSkip to conversation

Use <net/checksum.h> instead of <asm/checksum.h>

PATCH Applied Harald Welte 2 participants 2 messages Sep 21, 2003 – Sep 22, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Use <net/checksum.h> instead of <asm/checksum.h>

Hi Dave!

Please apply the following trivial fix (by Matthew Wilcox) to 2.4 and 2.6. Thanks.

net/ipv4/netfilter/ip_nat_snmp_basic.c 20 Sep 2003 00:15:46 -0000 renamed from net/ipv4/netfilter/ip_nat_snmp_basic.c 8 Sep 2003 21:42:58 -0000 1.3 +1 -1
diff -u -p -r1.3 ip_nat_snmp_basic.c
@@ -51,9 +51,9 @@
 #include <linux/netfilter_ipv4/ip_nat.h>
 #include <linux/netfilter_ipv4/ip_nat_helper.h>
 #include <linux/ip.h>
+#include <net/checksum.h>
 #include <net/udp.h>
 #include <asm/uaccess.h>
-#include <asm/checksum.h>
 
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("James Morris <[email protected]>");
Signature · 5 lines
- Harald Welte <[email protected]>             http://www.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
Quoted 2 lines · On Sun, 21 Sep 2003 16:52:52 +0200 Harald Welte <[email protected]> wrote:

Please apply the following trivial fix (by Matthew Wilcox) to 2.4 and 2.6. Thanks.

Applied, thanks guys.