Re: [nft PATCH 08/11] src: add a helper that returns a payload dependency for a particular base

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeremy Sowden <jeremy@xxxxxxxxxx> wrote:
> Currently, with only one base and dependency stored this is superfluous,
> but it will become more useful when the next commit adds support for
> storing a payload for every base.

> +	dep = payload_dependency_get(ctx, PROTO_BASE_NETWORK_HDR)->expr;

This new helper can return NULL, would you mind reworking this to add
error checks here?

I've applied all patches up to this one.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux