Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/ethernet/mediatek/mtk_eth_soc.c drivers/net/ethernet/qlogic/qed/qed_dcbx.c drivers/net/phy/Kconfig All conflicts were cases of overlapping commits. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include <linux/socket.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <linux/workqueue.h>
|
||||
#include <linux/syscalls.h>
|
||||
#include <net/kcm.h>
|
||||
#include <net/netns/generic.h>
|
||||
#include <net/sock.h>
|
||||
@@ -1721,7 +1722,7 @@ static int kcm_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
|
||||
if (copy_to_user((void __user *)arg, &info,
|
||||
sizeof(info))) {
|
||||
err = -EFAULT;
|
||||
sock_release(newsock);
|
||||
sys_close(info.fd);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user