aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorFuyun Liang <[email protected]>2018-03-24 11:32:44 +0800
committerDavid S. Miller <[email protected]>2018-03-26 12:12:26 -0400
commitda44a00f06df1f823ea449065e79581ee624de4b (patch)
tree3d16f1b67ca913cb32c87f2e8b568ea16ab83204 /net/unix/sysctl_net_unix.c
parent3bd6d258b1d5f76744567855d1376358a94f127d (diff)
net: hns3: fix for returning wrong value problem in hns3_get_rss_indir_size
The return type of hns3_get_rss_indir_size is u32. But a negative value is returned. This patch fixes it by replacing the negative value with zero. Signed-off-by: Fuyun Liang <[email protected]> Signed-off-by: Peng Li <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions