tipc: some clarifying name changes
authorJon Maloy <jon.maloy@ericsson.com>
Thu, 4 Jan 2018 14:20:44 +0000 (15:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Jan 2018 18:37:03 +0000 (13:37 -0500)
commit38266ca17c5f142a25d4563335e143cbd62e65a7
tree8e73c47ac8732ca84a3c26145b20dfb98c195024
parenta31e795a3b4d8808724c7ea80f382b0fda85be0f
tipc: some clarifying name changes

We rename some functions and variables, to make their purpose clearer.

- tipc_group::congested -> tipc_group::small_win. Members in this list
  are not necessarily (and typically) congested. Instead, they may
  *potentially* be subject to congestion because their send window is
  less than ADV_IDLE, and therefore need to be checked during message
  transmission.

- tipc_group_is_receiver() -> tipc_group_is_sender(). This socket will
  accept messages coming from members fulfilling this condition, i.e.,
  they are senders from this member's viewpoint.

- tipc_group_is_enabled() -> tipc_group_is_receiver(). Members
  fulfilling this condition will accept messages sent from the current
  socket, i.e., they are receivers from its viewpoint.

There are no functional changes in this commit.

Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/group.c