recv.c (da733563be5a9da26fe81d9f007262d00b846e22) recv.c (6114eab535ab49239e0a6ce08eb9243664aef993)
1/*
2 * Copyright (c) 2006 Oracle. All rights reserved.
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 141 unchanged lines hidden (view full) ---

150 * that small messages will wait behind large ones. Fragmenting at all
151 * is only to reduce the memory consumption of pre-posted buffers.
152 *
153 * The caller passes in saddr and daddr instead of us getting it from the
154 * conn. This lets loopback, who only has one conn for both directions,
155 * tell us which roles the addrs in the conn are playing for this message.
156 */
157void rds_recv_incoming(struct rds_connection *conn, __be32 saddr, __be32 daddr,
1/*
2 * Copyright (c) 2006 Oracle. All rights reserved.
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 141 unchanged lines hidden (view full) ---

150 * that small messages will wait behind large ones. Fragmenting at all
151 * is only to reduce the memory consumption of pre-posted buffers.
152 *
153 * The caller passes in saddr and daddr instead of us getting it from the
154 * conn. This lets loopback, who only has one conn for both directions,
155 * tell us which roles the addrs in the conn are playing for this message.
156 */
157void rds_recv_incoming(struct rds_connection *conn, __be32 saddr, __be32 daddr,
158 struct rds_incoming *inc, gfp_t gfp, enum km_type km)
158 struct rds_incoming *inc, gfp_t gfp)
159{
160 struct rds_sock *rs = NULL;
161 struct sock *sk;
162 unsigned long flags;
163
164 inc->i_conn = conn;
165 inc->i_rx_jiffies = jiffies;
166

--- 381 unchanged lines hidden ---
159{
160 struct rds_sock *rs = NULL;
161 struct sock *sk;
162 unsigned long flags;
163
164 inc->i_conn = conn;
165 inc->i_rx_jiffies = jiffies;
166

--- 381 unchanged lines hidden ---