summaryrefslogtreecommitdiffstats
path: root/scripts/file-size.sh
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2022-02-22 16:43:12 +0300
committerDavid S. Miller <davem@davemloft.net>2022-02-23 12:35:40 +0000
commita1f8fec4dac8bc7b172b2bdbd881e015261a6322 (patch)
tree84ecbf4763058ce5a74af824eb1af1bd588c6bbd /scripts/file-size.sh
parentde7b2efacf4e83954aed3f029d347dfc0b7a4f49 (diff)
downloadlinux-stable-a1f8fec4dac8bc7b172b2bdbd881e015261a6322.tar.gz
linux-stable-a1f8fec4dac8bc7b172b2bdbd881e015261a6322.tar.bz2
linux-stable-a1f8fec4dac8bc7b172b2bdbd881e015261a6322.zip
tipc: Fix end of loop tests for list_for_each_entry()
These tests are supposed to check if the loop exited via a break or not. However the tests are wrong because if we did not exit via a break then "p" is not a valid pointer. In that case, it's the equivalent of "if (*(u32 *)sr == *last_key) {". That's going to work most of the time, but there is a potential for those to be equal. Fixes: 1593123a6a49 ("tipc: add name table dump to new netlink api") Fixes: 1a1a143daf84 ("tipc: add publication dump to new netlink api") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/file-size.sh')
0 files changed, 0 insertions, 0 deletions