diff options
author | Sieng Piaw Liew <liew.s.piaw@gmail.com> | 2022-06-15 06:24:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-06-15 14:51:31 +0300 |
commit | 49ae83fc4fd027a4b4cf56bd2c94c7814ec4baff (patch) | |
tree | 587a616740c7000c6a87b1a95ca0b7671b26e84c /net/core/lwt_bpf.c | |
parent | 2aa4abed37927b9bc5db60dd5d440a7a47435a92 (diff) | |
download | linux-49ae83fc4fd027a4b4cf56bd2c94c7814ec4baff.tar.xz |
net: don't check skb_count twice
NAPI cache skb_count is being checked twice without condition. Change to
checking the second time only if the first check is run.
Signed-off-by: Sieng Piaw Liew <liew.s.piaw@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/lwt_bpf.c')
0 files changed, 0 insertions, 0 deletions