Re: [PATCH net] bpf: fix clearing on persistent program array maps

2015-11-24 Thread David Miller
From: Daniel Borkmann Date: Tue, 24 Nov 2015 21:28:15 +0100 > Currently, when having map file descriptors pointing to program arrays, > there's still the issue that we unconditionally flush program array > contents via bpf_fd_array_map_clear() in bpf_map_release(). This happens > when such a file

[PATCH net] bpf: fix clearing on persistent program array maps

2015-11-24 Thread Daniel Borkmann
Currently, when having map file descriptors pointing to program arrays, there's still the issue that we unconditionally flush program array contents via bpf_fd_array_map_clear() in bpf_map_release(). This happens when such a file descriptor is released and is independent of the map's refcount. Hav