diff options
| author | Daniel Borkmann <daniel@iogearbox.net> | 2016-09-09 02:45:28 +0200 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:50:36 +0300 |
| commit | eee2aa696486ff1113698a3f808177ba000a6528 (patch) | |
| tree | d157ea7f18f480fc726bbbc91911836cdf02a054 /net/core/dev.c | |
| parent | d5010c4ff46b6367c9f1141d07ebdf733a586d80 (diff) | |
bpf: minor cleanups in helpers
Some minor misc cleanups, f.e. use sizeof(__u32) instead of hardcoding
and in __bpf_skb_max_len(), I missed that we always have skb->dev valid
anyway, so we can drop the unneeded test for dev; also few more other
misc bits addressed here.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions
