commit | a80e89d4c650a7c3ab74f0b2d133cc2ce9738994 | [log] [tgz] |
---|---|---|
author | Alexander Duyck <alexander.h.duyck@redhat.com> | Thu Jan 22 15:51:20 2015 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 25 14:47:16 2015 -0800 |
tree | 7f97ff5e1bd693e43b61eaf75f238a8fbe96e7ea | |
parent | 69fa57b1e42c171599d53486839c3d58f7ed8eec [diff] |
fib_trie: Fall back to slen update on inflate/halve failure This change corrects an issue where if inflate or halve fails we were exiting the resize function without at least updating the slen for the node. To correct this I have moved the update of max_size into the while loop so that it is only decremented on a successful call to either inflate or halve. Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>