LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Fw: Re: [PATCH] (6/6) ipvs -- get rid of skb_linearize

To: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Subject: Re: Fw: Re: [PATCH] (6/6) ipvs -- get rid of skb_linearize
Cc: "David S. Miller" <davem@xxxxxxxxxx>
Cc: Wensong Zhang <wensong@xxxxxxxxxxxx>
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Cc: netdev@xxxxxxxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Tue, 23 Sep 2003 01:53:52 +0300 (EEST)
        Hello,

On Tue, 23 Sep 2003, Rusty Russell wrote:

> > better the following stuff to be included now. Rusty, Dave? Is
> > someone willing to review this before inclusion?
>
> Sure...
>
> > http://www.ssi.bg/~ja/ipvs-2.6.0-test2/readme.txt
>
> > - at least struct iphdr in first fragment, not shared
> >
> > - ip_defrag is already called, so ip_send_check is still needed
> >
> > - then we add all needed checks for read and write access and extending
> > the first fragment
>
> Alexey's advice was not to pull packets we don't modify, but use
> skb_copy_bits, and use skb_ip_make_writable() where we do modify.
> This means that you don't have to care about shared or cloned skbs, it
> makes your intentions explicit, and it's more future-proof.
>
> It's more invasive, but my experience with doing netfilter_ipv4 was
> that it made things much neater when finished.  It helps to get rid of
> lots of the temporary variables, too, I've found (too easy to forget
> to update them).

        Ok, thank you Rusty! We will need some time to check the
changes...

Regards

--
Julian Anastasov <ja@xxxxxx>

<Prev in Thread] Current Thread [Next in Thread>