Re[2]: [PATCH 05/19] netfilter: nf_conntrack_ipv6: improve fragmentation handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	Hello,

On Wed, 22 Aug 2012, Julian Anastasov wrote:

> On Wed, 22 Aug 2012, Hans Schillstrom wrote:
> 
> > >Perhaps we could change/fix the MTU check in IPVS?
> > >(This would also solve issues I've seen with TSO/GSO frames, hitting
> > >this code path).
> > >
> > I ran into this as well, 
> > try this for the mtu check.
> > 
> >        if ((!skb->local_df && skb->len > mtu && !skb_is_gso(skb)) ||
> >            (IP6CB(skb)->frag_max_size && IP6CB(skb)->frag_max_size > mtu)) {
> 
> 	Better without local_df check, it is our job to
> set it.

	Ops, sorry. It seems now nf_ct_frag6_reasm (Patch 02/18)
will set head->local_df = 1, so we should check local_df
as Hans said.

Regards

--
Julian Anastasov <ja@xxxxxx>

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux