# Re: \[PATCH v2 net-next\] packet: add a generic drop reason for receive

- From: Yan Zhai \<hidden\>
- Date: 2023-12-01 18:19:40 
- List: netdev
- Page: https://ratatoskr.run/netdev/2023/12/2418512
- Thread: https://ratatoskr.run/netdev/2023/12/2418482/t.md

```text
On Fri, Dec 1, 2023 at 11:51 AM Eric Dumazet [ref] wrote:
>
> >         bool is_drop_n_account = false;
>
> Why keeping is_drop_n_account  then ?

Good catch, thanks! Will send a v3 to fix up.
Meanwhile, I noticed it is compiled with the
-Wno-unused-but-set-variable flag, is there a reason why we disable
this warning?

Yan
```
