Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262483
b: refs/heads/master
c: 98382f4
h: refs/heads/master
i:
  262481: 42254cb
  262479: 5bdac3d
v: v3
  • Loading branch information
Anton Blanchard authored and David S. Miller committed Aug 5, 2011
1 parent c3ce560 commit 273b573
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 728ffb86f10873aaf4abd26dde691ee40ae731fe
refs/heads/master: 98382f419f32d2c12d021943b87dea555677144b
3 changes: 3 additions & 0 deletions trunk/net/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -1999,6 +1999,9 @@ int __sys_sendmmsg(int fd, struct mmsghdr __user *mmsg, unsigned int vlen,
struct compat_mmsghdr __user *compat_entry;
struct msghdr msg_sys;

if (vlen > UIO_MAXIOV)
vlen = UIO_MAXIOV;

datagrams = 0;

sock = sockfd_lookup_light(fd, &err, &fput_needed);
Expand Down

0 comments on commit 273b573

Please sign in to comment.