Re: [PATCH net-next] bpf: add skb_postpush_rcsum and fix dev_forward_skb occasions From: Hannes Frederic Sowa <hidden> Date: 2016-01-07 01:53:12 On 07.01.2016 02:01, Daniel Borkmann wrote:+static inline void skb_postpush_rcsum(struct sk_buff *skb, + const void *start, unsigned int len) +{ + if (skb->ip_summed == CHECKSUM_COMPLETE) + skb->csum = csum_add(skb->csum, csum_partial(start, len, 0)); skb->csum = csum_partial(start, len, skb->csum); should work without calling carry-add twice, no? Bye, Hannes
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help