tipc: Allow receiving into iovec containing multiple entries
authorAllan Stephens <Allan.Stephens@windriver.com>
Mon, 21 Feb 2011 14:45:40 +0000 (09:45 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 13 Mar 2011 20:35:16 +0000 (16:35 -0400)
commit0232fd0ac475e5f5ec19a69d53467be11bec9833
tree0bfb61f3302e17246165b6ea594ebd8d4e5ecea0
parentbef55aebd560c5a6f8883c421abccee39978c58c
tipc: Allow receiving into iovec containing multiple entries

Enhances TIPC's socket receive routines to support iovec structures
containing more than a single entry. This change leverages existing
sk_buff routines to do most of the work; the only significant change
to TIPC itself is that an sk_buff now records how much data has been
already consumed as an numeric offset, rather than as a pointer to
the first unread data byte.

Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/socket.c