mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
This commit is contained in:
commit
06eb4eafbd
4047 changed files with 104043 additions and 49958 deletions
|
|
@ -1130,6 +1130,9 @@ static int pep_sendmsg(struct kiocb *iocb, struct sock *sk,
|
|||
int flags = msg->msg_flags;
|
||||
int err, done;
|
||||
|
||||
if (len > USHRT_MAX)
|
||||
return -EMSGSIZE;
|
||||
|
||||
if ((msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL|
|
||||
MSG_CMSG_COMPAT)) ||
|
||||
!(msg->msg_flags & MSG_EOR))
|
||||
|
|
|
|||
Loading…
Reference in a new issue