From: Ying Xue Date: Tue, 2 Dec 2014 07:00:23 +0000 (+0800) Subject: tipc: remove size variable from publ_list struct X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~87^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b61e70ad13e1c907f143c3b0a1694df640639c0;p=pandora-kernel.git tipc: remove size variable from publ_list struct The size variable is introduced in publ_list struct to help us exactly calculate SKB buffer sizes needed by publications when all publications in name table are delivered in bulk in named_distribute(). But if publication SKB buffer size is assumed to MTU, the size variable in publ_list struct can be completely eliminated at the cost of wasting a bit memory space for last SKB. Signed-off-by: Ying Xue Signed-off-by: Tero Aho Reviewed-by: Erik Hugne Reviewed-by: Jon Maloy Tested-by: Erik Hugne Signed-off-by: David S. Miller --- Reading git-diff-tree failed