aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/name_table.h
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2014-12-02 15:00:23 +0800
committerDavid S. Miller <davem@davemloft.net>2014-12-08 20:39:55 -0500
commit1b61e70ad13e1c907f143c3b0a1694df640639c0 (patch)
treef36b4e8e5a25e8c02fea68cfe5bf54d097cc788d /net/tipc/name_table.h
parentudp: Neaten and reduce size of compute_score functions (diff)
downloadlinux-dev-1b61e70ad13e1c907f143c3b0a1694df640639c0.tar.xz
linux-dev-1b61e70ad13e1c907f143c3b0a1694df640639c0.zip
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>
Diffstat (limited to 'net/tipc/name_table.h')
0 files changed, 0 insertions, 0 deletions