[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170823.224359.1867611342740230547.davem@davemloft.net>
Date: Wed, 23 Aug 2017 22:43:59 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: daniel@...earbox.net
Cc: ast@...com, john.fastabend@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] bpf: netdev is never null in __dev_map_flush
From: Daniel Borkmann <daniel@...earbox.net>
Date: Thu, 24 Aug 2017 03:20:11 +0200
> 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 <daniel@...earbox.net>
Applied.
Powered by blists - more mailing lists