On 02/15/2014 02:36 PM, Florian Westphal wrote: > Nikolay Aleksandrov <nikolay@xxxxxxxxxx> wrote: >> The new "write" expression can be used to manipulate packet data. > > Thanks. This is very useful feature (needed also for TCPMSS mangling > for instance). > > General question: How are/should packet checksums be handled after packet > content was altered? > hehe very good question, right now I do it with a hacked version of this patch, but I think we can add some more generic checksum op where you can choose which checksum to recompute. I've also thought about making the destination (where to write the checksum) variable for some corner cases, but this is a stretch. Cheers, Nik -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html