Re: [PATCH 4/7] netfilter: nf_tables: better encapsulation for the rule transaction code

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

 



On Thu, Mar 27, 2014 at 10:53:14PM +0100, Pablo Neira Ayuso wrote:
> Another cleanup to accomodate set, chain and table transaction support.
> Move the rule transaction code to several functions to avoid too large
> commit and abort routines.
> 

> +static void nft_rule_commit_update(struct net *net, struct sk_buff *skb,
> +				   struct nft_trans *trans)

Just wondering, why aren't we using the net and skb from the context?

> +static void nft_rule_abort_undo(struct net *net, struct sk_buff *skb,
> +				struct nft_trans *trans)

In this case neither net nor skb are used.
--
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




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux