Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
arch
/
um
/
os-Linux
/
drivers
/
ethertap_user.c
diff --git
a/kernel/arch/um/os-Linux/drivers/ethertap_user.c
b/kernel/arch/um/os-Linux/drivers/ethertap_user.c
index
b39b669
..
6d49182
100644
(file)
--- a/
kernel/arch/um/os-Linux/drivers/ethertap_user.c
+++ b/
kernel/arch/um/os-Linux/drivers/ethertap_user.c
@@
-105,7
+105,7
@@
static int etap_tramp(char *dev, char *gate, int control_me,
sprintf(data_fd_buf, "%d", data_remote);
sprintf(version_buf, "%d", UML_NET_VERSION);
if (gate != NULL) {
- str
cpy(gate_buf, gate
);
+ str
ncpy(gate_buf, gate, 15
);
args = setup_args;
}
else args = nosetup_args;