[PATCH] netfilter: bridge: define INT_MIN & INT_MAX in userspace

2018-10-24 Thread Jiri Slaby
n !__KERNEL__ (the same way as for other netfilter_* headers). Fixes: 94276fa8a2a4 ("netfilter: bridge: Expose nf_tables bridge hook priorities through uapi") Signed-off-by: Jiri Slaby Cc: Máté Eckl Cc: Pablo Neira Ayuso --- include/uapi/linux/netfilter_bridge.h | 4 1 fil

[PATCH 1/1] netfilter: nf_ct_expect: fix expect removal

2017-07-17 Thread Jiri Slaby
ct_remove_expect -> del_timer -> detach_if_pending Switch to the proper variable. Fixes: ec0e3f01114a Signed-off-by: Jiri Slaby Cc: Gao Feng Cc: Pablo Neira Ayuso Cc: Jozsef Kadlecsik Cc: Florian Westphal Cc: Cc: --- net/netfilter/nf_conntrack_expect.c | 2 +- 1 file changed, 1 insertion(+

Re: 4.12 nf_conntrack_expect crash

2017-07-17 Thread Jiri Slaby
On 07/17/2017, 04:49 PM, Jiri Slaby wrote: > Hi, > > on my system, I see a crash in del_timer invoked in nf_conntrack_expect. > See the attached picture. > > I somehow suspect this commit: > > commit ec0e3f01114ad327112432a4da8840eb22fed577 > Author: Gao Feng > Da