Searched hist:"1 b61e70ad13e1c907f143c3b0a1694df640639c0" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/tipc/ |
H A D | name_distr.c | diff 1b61e70ad13e1c907f143c3b0a1694df640639c0 Tue Dec 02 01:00:23 CST 2014 Ying Xue <ying.xue@windriver.com> 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 <ying.xue@windriver.com> Signed-off-by: Tero Aho <tero.aho@coriant.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Tested-by: Erik Hugne <erik.hugne@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|