> > skge sets CHECKSUM_HW on received packets, sk98lin does not,
> > instead it just marks the packet with CHECKSUM_NONE.
> > 
> > Patrick, I can't see how ipt_TCPMSS.c's BUG() check can be
> > correct in the presence of a driver which sets CHECKSUM_HW
> > on received packets.
> 
> TCPMSS can only be used in the output path, so I'm not sure how this
> can happen. The BUG() and the comment (can never happen for SYN) was
> added by yourself, so I assume it is correct. In ip_forward we reset
> ip_summed to CHECKSUM_NONE before the FORWARD hook is called.
> 
> Matthew, please post the rules you're using with the TCPMSS target.
>

The rule is as follows:

-A INPUT -m tcp -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1400

Regards,

Matthew Galgoci

 
-
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