diff options
author | Ying Xue <ying.xue@windriver.com> | 2014-12-02 10:00:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-09 04:39:55 +0300 |
commit | 1b61e70ad13e1c907f143c3b0a1694df640639c0 (patch) | |
tree | f36b4e8e5a25e8c02fea68cfe5bf54d097cc788d /net/tipc/name_table.h | |
parent | 60c04aecd8a72a84869308bdf2289a7aabb9a88c (diff) | |
download | linux-1b61e70ad13e1c907f143c3b0a1694df640639c0.tar.xz |
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