On 8/23/17 6:20 PM, Daniel Borkmann wrote:
No need to test for it in fast-path, every dev in bpf_dtab_netdev is guaranteed to be non-NULL, otherwise dev_map_update_elem() will fail in the first place.Signed-off-by: Daniel Borkmann <[email protected]>
wow. interesting. I'm surprised you see a difference from such micro-optimization. Acked-by: Alexei Starovoitov <[email protected]>
