l2md: fix infinite loop on reading short files

When (config) files get corrupted and are not the expected
size we'd enter an infinite loop.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
1 file changed