In the case where the match length is a multiple of 8 the pad should be 0. Previously a pad of 8 was used. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>