Re: [PATCH net-next v2 03/10] wwan: core: require WWAN netdev setup callback existence

From
Loic Poulain <hidden>
Date
2021-06-22 13:39:08
Reply to
Sergey Ryazanov, 2021-06-21
On Tue, 22 Jun 2021 at 00:51, Sergey Ryazanov [off-list ref] wrote:
The setup callback will be unconditionally passed to the
alloc_netdev_mqs(), where the NULL pointer dereference will cause the
kernel panic. So refuse to register WWAN netdev ops with warning
generation if the setup callback is not provided.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Reviewed-by: Loic Poulain <redacted>
Thread (19 messages) 19 messages, 3 authors, last reply 2021-06-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help