net/netfilter/nf_log_syslog.c: In function 'nf_log_unknown_packet': net/netfilter/nf_log_syslog.c:932:9: error: too few arguments to function 'nf_log_buf_close' 932 | nf_log_buf_close(m); | ^~~~~~~~~~~~~~~~ In file included from net/netfilter/nf_log_syslog.c:25: ./include/net/netfilter/nf_log.h:100:6: note: declared here 100 | void nf_log_buf_close(struct nf_log_buf *m, struct net *net); | ^~~~~~~~~~~~~~~~
Fixes: a245e8cecfbe ("ve/nf_log_syslog: virtualize packet logging per-ve") Signed-off-by: Pavel Tikhomirov <ptikhomi...@virtuozzo.com> --- net/netfilter/nf_log_syslog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netfilter/nf_log_syslog.c b/net/netfilter/nf_log_syslog.c index b05089283ddc..1ec5c15f426b 100644 --- a/net/netfilter/nf_log_syslog.c +++ b/net/netfilter/nf_log_syslog.c @@ -929,7 +929,7 @@ static void nf_log_unknown_packet(struct net *net, u_int8_t pf, dump_mac_header(m, loginfo, skb); - nf_log_buf_close(m); + nf_log_buf_close(m, net); } static void nf_log_netdev_packet(struct net *net, u_int8_t pf, -- 2.39.0 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel