summaryrefslogtreecommitdiffstats
path: root/net/dccp/feat.h
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2020-05-10 21:04:09 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-21 16:59:19 -0700
commit7c87e32d2e380228ada79d20ac5b7674718ef097 (patch)
tree6fb9d504829a14148eecfa46671c2e093deff951 /net/dccp/feat.h
parentd69100b8eee27c2d60ee52df76e0b80a8d492d34 (diff)
downloadlinux-7c87e32d2e380228ada79d20ac5b7674718ef097.tar.gz
linux-7c87e32d2e380228ada79d20ac5b7674718ef097.tar.bz2
linux-7c87e32d2e380228ada79d20ac5b7674718ef097.zip
ethtool: count header size in reply size estimate
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: 728480f12442 ("ethtool: default handlers for GET requests") Reported-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Michal Kubecek <mkubecek@suse.cz> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/feat.h')
0 files changed, 0 insertions, 0 deletions