diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2016-09-09 00:45:28 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-10 02:36:03 (GMT) |
commit | 6088b5823b4cb132a838878747384cbfb5ce6646 (patch) | |
tree | 83d13b9cc765fa76212ba29d4eda9723f6c02e5e /net/core/netpoll.c | |
parent | bf8d85d4f907d2156e6e5d2831378527957d9bde (diff) | |
download | linux-6088b5823b4cb132a838878747384cbfb5ce6646.tar.xz |
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>
Diffstat (limited to 'net/core/netpoll.c')
0 files changed, 0 insertions, 0 deletions