Messages in this thread | | | Date | Sun, 25 Aug 2019 23:20:03 -0700 (PDT) | Subject | Re: [PATCH v2] net: fix skb use after free in netpoll | From | David Miller <> |
| |
From: Feng Sun <loyou85@gmail.com> Date: Mon, 26 Aug 2019 14:13:40 +0800
> +static inline bool netpoll_xmit_complete(int rc) > +{ > + return dev_xmit_complete(rc); > +}
There is no need for this useless indirection, just call dev_xmit_complete() staright.
Also, even if it was suitable, never use the inline keyword in foo.c files.
| |