diff options
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | 2019-08-11 23:18:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-12 07:40:04 +0300 |
commit | 8874ecae2977e5a2d4f0ba301364435b81c05938 (patch) | |
tree | f24039257989cea6288c9f8b6922a3a161801884 /net/tipc/discover.c | |
parent | 58799865be84e2a895dab72de0e1b996ed943f22 (diff) | |
download | linux-8874ecae2977e5a2d4f0ba301364435b81c05938.tar.xz |
tipc: initialise addr_trail_end when setting node addresses
We set the field 'addr_trial_end' to 'jiffies', instead of the current
value 0, at the moment the node address is initialized. This guarantees
we don't inadvertently enter an address trial period when the node
address is explicitly set by the user.
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/discover.c')
0 files changed, 0 insertions, 0 deletions