Thread (5 messages) 5 messages, 2 authors, 2018-10-10
STALE2912d

[PATCH net 0/3] devlink param type string fixes

From: Moshe Shemesh <hidden>
Date: 2018-10-10 14:09:55
Also in: lkml

This patchset fixes devlink param infrastructure for string param type.

The devlink param infrastructure doesn't handle copying the string data
correctly.  The first two patches fix it and the third patch adds helper
function to safely copy string value without exceeding
DEVLINK_PARAM_MAX_STRING_VALUE.

Moshe Shemesh (3):
  devlink: Fix param set handling for string type
  devlink: Fix param cmode driverinit for string type
  devlink: Add helper function for safely copy string param

 include/net/devlink.h | 12 ++++++++++--
 net/core/devlink.c    | 43 +++++++++++++++++++++++++++++++++++++------
 2 files changed, 47 insertions(+), 8 deletions(-)

-- 
1.8.3.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help