[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070307134743.42e3b5c7@freekitty>
Date: Wed, 7 Mar 2007 13:47:43 -0800
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: "David S. Miller" <davem@...emloft.net>,
Herbert Xu <herbert@...dor.apana.org.au>
Cc: netdev@...r.kernel.org
Subject: [PATCH] udp: net-2.6.22 build fix
Recent change broke build of UDP.
Signed-off-by: Stephen Hemminger <shemminger@...ux-foundation.org>
--- net-2.6.22.orig/net/ipv4/udp.c 2007-03-07 13:43:59.000000000 -0800
+++ net-2.6.22/net/ipv4/udp.c 2007-03-07 13:45:43.000000000 -0800
@@ -1283,7 +1283,7 @@
* the network is concerned, anyway) as per 4.1.3.4 (MUST).
*/
LIMIT_NETDEBUG(KERN_DEBUG "UDP%s: bad checksum. From %d.%d.%d.%d:%d to %d.%d.%d.%d:%d ulen %d\n",
- is_udplite? "-Lite" : "",
+ proto == IPPROTO_UDPLITE ? "-Lite" : "",
NIPQUAD(saddr),
ntohs(uh->source),
NIPQUAD(daddr),
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists