Re: [PATCH net] ethtool: count header size in reply size estimate

2020-05-21 Thread David Miller
From: Michal Kubecek Date: Sun, 10 May 2020 21:04:09 +0200 > As ethnl_request_ops::reply_size handlers do not include common header > size into calculated/estimated reply size, it needs to be added in > ethnl_default_doit() and ethnl_default_notify() before allocating the > message. On the other

[PATCH net] ethtool: count header size in reply size estimate

2020-05-21 Thread Michal Kubecek
As ethnl_request_ops::reply_size handlers do not include common header size into calculated/estimated reply size, it needs to be added in ethnl_default_doit() and ethnl_default_notify() before allocating the message. On the other hand, strset_reply_size() should not add common header size. Fixes: