mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
mlx5-shared-2017-08-07
This series includes some mlx5 updates for both net-next and rdma trees. From Saeed, Core driver updates to allow selectively building the driver with or without some large driver components, such as - E-Switch (Ethernet SRIOV support). - Multi-Physical Function Switch (MPFs) support. For that we split E-Switch and MPFs functionalities into separate files. From Erez, Delay mlx5_core events when mlx5 interfaces, namely mlx5_ib, registration is taking place and until it completes. From Rabie, Increase the maximum supported flow counters. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABAgAGBQJZiDoAAAoJEEg/ir3gV/o+594H/RH5kRwC719s/5YQFJXvGsVC fjtj3UUJPLrWB8XBh7a4PRcxXPIHaFKJuY3MU7KHFIeZQFklJcit3njjpxDlUINo F5S1LHBSYBkeMD/ksWBA8OLCBprNGN6WQ2tuFfAjZlQQ44zqv8LJmegoDtW9bGRy aGAkjUmALEblQsq81y0BQwN2/8DA8HAywrs8L2dkH1LHwijoIeYMZFOtKugv1FbB ABSKxcU7D/NYw6rsVdZG59fHFQ+eKOspDFqBZrUzfQ+zUU2hFFo96ovfXBfIqYCV 7BtJuKXu2LeGPzFLsuw4h1131iqFT1iSMy9fEhf/4OwaL/KPP/+Umy8vP/XfM+U= =wCpd -----END PGP SIGNATURE----- Merge tag 'mlx5-shared-2017-08-07' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux Saeed Mahameed says: ==================== mlx5-shared-2017-08-07 This series includes some mlx5 updates for both net-next and rdma trees. From Saeed, Core driver updates to allow selectively building the driver with or without some large driver components, such as - E-Switch (Ethernet SRIOV support). - Multi-Physical Function Switch (MPFs) support. For that we split E-Switch and MPFs functionalities into separate files. From Erez, Delay mlx5_core events when mlx5 interfaces, namely mlx5_ib, registration is taking place and until it completes. From Rabie, Increase the maximum supported flow counters. ==================== Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
commit
fde6af4729
333 changed files with 7477 additions and 15440 deletions
|
|
@ -1376,6 +1376,7 @@ isdn_ioctl(struct file *file, uint cmd, ulong arg)
|
|||
if (arg) {
|
||||
if (copy_from_user(bname, argp, sizeof(bname) - 1))
|
||||
return -EFAULT;
|
||||
bname[sizeof(bname)-1] = 0;
|
||||
} else
|
||||
return -EINVAL;
|
||||
ret = mutex_lock_interruptible(&dev->mtx);
|
||||
|
|
|
|||
|
|
@ -2611,10 +2611,9 @@ isdn_net_newslave(char *parm)
|
|||
char newname[10];
|
||||
|
||||
if (p) {
|
||||
/* Slave-Name MUST not be empty */
|
||||
if (!strlen(p + 1))
|
||||
/* Slave-Name MUST not be empty or overflow 'newname' */
|
||||
if (strscpy(newname, p + 1, sizeof(newname)) <= 0)
|
||||
return NULL;
|
||||
strcpy(newname, p + 1);
|
||||
*p = 0;
|
||||
/* Master must already exist */
|
||||
if (!(n = isdn_net_findif(parm)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue