mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Minor conflicts in drivers/net/ethernet/mellanox/mlx5/core/en_rep.c,
we had some overlapping changes:
1) In 'net' MLX5E_PARAMS_LOG_{SQ,RQ}_SIZE -->
MLX5E_REP_PARAMS_LOG_{SQ,RQ}_SIZE
2) In 'net-next' params->log_rq_size is renamed to be
params->log_rq_mtu_frames.
3) In 'net-next' params->hard_mtu is added.
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
commit
c0b458a946
205 changed files with 1916 additions and 1103 deletions
|
|
@ -1085,6 +1085,9 @@ static int netlink_connect(struct socket *sock, struct sockaddr *addr,
|
|||
if (addr->sa_family != AF_NETLINK)
|
||||
return -EINVAL;
|
||||
|
||||
if (alen < sizeof(struct sockaddr_nl))
|
||||
return -EINVAL;
|
||||
|
||||
if ((nladdr->nl_groups || nladdr->nl_pid) &&
|
||||
!netlink_allowed(sock, NL_CFG_F_NONROOT_SEND))
|
||||
return -EPERM;
|
||||
|
|
|
|||
Loading…
Reference in a new issue