Re: [PATCH] ip_vs: fixed compile warning by repl. skb_linearize with __skb_linearize [2.6.0-test2]

From: Matthew Wilcox (willy@debian.org)
Date: Mon Jul 28 2003 - 13:02:27 EST


On Mon, Jul 28, 2003 at 07:43:34PM +0200, Daniele Bellucci wrote:
>
> make output:
> ....
> net/ipv4/ipvs/ip_vs_core.c: In function `ip_vs_out_icmp':
> net/ipv4/ipvs/ip_vs_core.c:528: warning: `skb_linearize' is deprecated (declared at include/linux/skbuff.h:1129)
> net/ipv4/ipvs/ip_vs_core.c: In function `ip_vs_out':
> net/ipv4/ipvs/ip_vs_core.c:728: warning: `skb_linearize' is deprecated (declared at include/linux/skbuff.h:1129)
> net/ipv4/ipvs/ip_vs_core.c: In function `ip_vs_in_icmp':
> net/ipv4/ipvs/ip_vs_core.c:818: warning: `skb_linearize' is deprecated (declared at include/linux/skbuff.h:1129)
> net/ipv4/ipvs/ip_vs_xmit.c: In function `ip_vs_nat_xmit':
> net/ipv4/ipvs/ip_vs_xmit.c:269: warning: `skb_linearize' is deprecated (declared at include/linux/skbuff.h:1129)
> ....
>
>
> The following fix compile warning and should works fine too (skb_linearize is an "alias" of __skb_linearize)
> Please tellme if i'm wrong or not.

you're wrong. people need to stop linearising SKBs.

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:01 EST