summaryrefslogtreecommitdiff
path: root/drivers/net/can/usb
diff options
context:
space:
mode:
authorOliver Hartkopp <socketcan@hartkopp.net>2017-12-02 20:48:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-17 11:45:17 +0300
commitb043ea189d0fbd2f7a0b8d177109f60f5cd767f2 (patch)
tree167d12823d53f7917bb99c968c0ce842acc5e5dc /drivers/net/can/usb
parent653c41ac4729261cb356ee1aff0f3f4f342be1eb (diff)
downloadlinux-b043ea189d0fbd2f7a0b8d177109f60f5cd767f2.tar.xz
can: vxcan: improve handling of missing peer name attribute
commit b4c2951a4833e66f1bbfe65ddcd4fdcdfafe5e8f upstream. Picking up the patch from Serhey Popovych (commit 191cdb3822e5df6b3c8, "veth: Be more robust on network device creation when no attributes"). When the peer name attribute is not provided the former implementation tries to register the given device name twice ... which leads to -EEXIST. If only one device name is given apply an automatic generated and valid name for the peer. Cc: Serhey Popovych <serhe.popovych@gmail.com> Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/can/usb')
0 files changed, 0 insertions, 0 deletions