loop.c (94bd217e2d683719ab21a4ac117d8a1b91cbedc9) loop.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:

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

74
75 BUG_ON(hdr_off || sg || off);
76
77 rds_inc_init(&rm->m_inc, conn, conn->c_laddr);
78 /* For the embedded inc. Matching put is in loop_inc_free() */
79 rds_message_addref(rm);
80
81 rds_recv_incoming(conn, conn->c_laddr, conn->c_faddr, &rm->m_inc,
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:

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

74
75 BUG_ON(hdr_off || sg || off);
76
77 rds_inc_init(&rm->m_inc, conn, conn->c_laddr);
78 /* For the embedded inc. Matching put is in loop_inc_free() */
79 rds_message_addref(rm);
80
81 rds_recv_incoming(conn, conn->c_laddr, conn->c_faddr, &rm->m_inc,
82 GFP_KERNEL, KM_USER0);
82 GFP_KERNEL);
83
84 rds_send_drop_acked(conn, be64_to_cpu(rm->m_inc.i_hdr.h_sequence),
85 NULL);
86
87 rds_inc_put(&rm->m_inc);
88out:
89 return ret;
90}

--- 104 unchanged lines hidden ---
83
84 rds_send_drop_acked(conn, be64_to_cpu(rm->m_inc.i_hdr.h_sequence),
85 NULL);
86
87 rds_inc_put(&rm->m_inc);
88out:
89 return ret;
90}

--- 104 unchanged lines hidden ---