mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
net/ipv6/ip6_gre.c is a case of parallel adds. include/trace/events/tcp.h is a little bit more tricky. The removal of in-trace-macro ifdefs in 'net' paralleled with moving show_tcp_state_name and friends over to include/trace/events/sock.h in 'net-next'. Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
commit
6bb8824732
212 changed files with 2378 additions and 1204 deletions
|
|
@ -1009,6 +1009,9 @@ static int rds_rdma_bytes(struct msghdr *msg, size_t *rdma_bytes)
|
|||
continue;
|
||||
|
||||
if (cmsg->cmsg_type == RDS_CMSG_RDMA_ARGS) {
|
||||
if (cmsg->cmsg_len <
|
||||
CMSG_LEN(sizeof(struct rds_rdma_args)))
|
||||
return -EINVAL;
|
||||
args = CMSG_DATA(cmsg);
|
||||
*rdma_bytes += args->remote_vec.bytes;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue