Skip to content

Commit 7dab8ee

Browse files
committed
netfilter: nfnetlink: pass struct nfnl_info to batch callbacks
Update batch callbacks to use the nfnl_info structure. Rename one clashing info variable to expr_info. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
1 parent 797d498 commit 7dab8ee

3 files changed

Lines changed: 182 additions & 176 deletions

File tree

‎include/linux/netfilter/nfnetlink.h‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ struct nfnl_callback {
1919
const struct nlattr * const cda[]);
2020
int (*call_rcu)(struct sk_buff *skb, const struct nfnl_info *info,
2121
const struct nlattr * const cda[]);
22-
int (*call_batch)(struct net *net, struct sock *nl, struct sk_buff *skb,
23-
const struct nlmsghdr *nlh,
24-
const struct nlattr * const cda[],
25-
struct netlink_ext_ack *extack);
22+
int (*call_batch)(struct sk_buff *skb, const struct nfnl_info *info,
23+
const struct nlattr * const cda[]);
2624
const struct nla_policy *policy; /* netlink attribute policy */
2725
const u_int16_t attr_count; /* number of nlattr's */
2826
};

0 commit comments

Comments
 (0)