udp: net-2.6.22 build fix
Subsystems (3)
PATCH 1/1 udp: net-2.6.22 build fix
Recent change broke build of UDP.
Signed-off-by Stephen Hemminger <[email protected]>
net/ipv4/udp.c +1 -1
@@ -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),
Quoted 3 lines · Stephen Hemminger
Recent change broke build of UDP.
Signed-off-by Stephen Hemminger <[email protected]>
Thanks for that Stephen. Somehow this one got away. Perhaps we can recode these macros so that they always get compiled-checked?
Cheers,
Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txtDavid Miller
maintainerFrom: Herbert Xu <[email protected]>
Date: Thu, 8 Mar 2007 08:51:48 +1100
Quoted 2 lines
Perhaps we can recode these macros so that they always get compiled-checked?
Yes, we really should.
From: Stephen Hemminger <[email protected]>
Date: Wed, 7 Mar 2007 13:47:43 -0800
Quoted 3 lines
Recent change broke build of UDP.
Signed-off-by Stephen Hemminger <[email protected]>
Applied, thanks Stephen.