projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: clamp ->msg_namelen instead of returning an error
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
configs.c
diff --git
a/kernel/configs.c
b/kernel/configs.c
index 42e8fa075eed011d1577b5b2d40d5ef1e7df73f4..c18b1f1ae515a73cf0fe404d413ddcc4bc8f847d 100644
(file)
--- a/
kernel/configs.c
+++ b/
kernel/configs.c
@@
-79,7
+79,7
@@
static int __init ikconfig_init(void)
if (!entry)
return -ENOMEM;
-
entry->size = kernel_config_data_size
;
+
proc_set_size(entry, kernel_config_data_size)
;
return 0;
}