commit | d6b3347bf178266259af64b1f27b5cf54acf62c8 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Jan 15 08:21:32 2016 -0800 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Mon Jan 18 12:18:17 2016 +0100 |
tree | 73511ca46445418d5dba23d91ebfb4371b679593 | |
parent | efaea94aaf0decd55b15aa7068d4d516a352e56e [diff] |
netfilter: xt_TCPMSS: handle CHECKSUM_COMPLETE in tcpmss_tg6() In case MSS option is added in TCP options, skb length increases by 4. IPv6 needs to update skb->csum if skb has CHECKSUM_COMPLETE, otherwise kernel complains loudly in netdev_rx_csum_fault() with a stack dump. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>