Recent change broke build of UDP.

Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>

--- 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to