Re: [PATCH net] netfilter: ebtables: Fix argument order to ADD_COUNTER

2019-08-12 Thread Florian Westphal
Todd Seidelmann wrote: > The ordering of arguments to the x_tables ADD_COUNTER macro > appears to be wrong in ebtables (cf. ip_tables.c, ip6_tables.c, > and arp_tables.c). > > This causes data corruption in the ebtables userspace tools > because they get incorrect packet & byte counts from the ke

[PATCH net] netfilter: ebtables: Fix argument order to ADD_COUNTER

2019-08-12 Thread Todd Seidelmann
The ordering of arguments to the x_tables ADD_COUNTER macro appears to be wrong in ebtables (cf. ip_tables.c, ip6_tables.c, and arp_tables.c). This causes data corruption in the ebtables userspace tools because they get incorrect packet & byte counts from the kernel. ---  net/bridge/netfilter/ebt