Jonathan Morton <[email protected]> writes:

>> On 22 Aug, 2018, at 12:51 pm, Pete Heist <[email protected]> wrote:
>> 
>> "math between pkt pointer and 4294901760 is not allowed"
>
> As a possible clue here, 4294901760 == (2^32) - (2^16).
>
> I suspect both errors are being caused by the call to memcpy(). This
> potentially inlines a substantial amount of code which may not be
> eBPF-clean.

Yeah, I think this is a good guess. You could try using
__builtin_memcpy() instead; that may do fewer pointer shenanigans than
the function-header-defined one...

-Toke
_______________________________________________
Cake mailing list
[email protected]
https://lists.bufferbloat.net/listinfo/cake

Reply via email to