commit | de39d7a4f3693c4247135cbce42716bf2a113577 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat Mar 01 02:18:57 2014 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 03 15:29:42 2014 -0500 |
tree | 0345345d829564784336e07d6a59690624850d1e | |
parent | 635d61a3735e05c8da72740006670f819e5b6a5f [diff] |
hsr: off by one sanity check in hsr_register_frame_in() This is a sanity check and we never pass invalid values so this patch doesn't change anything. However the node->time_in[] array has HSR_MAX_SLAVE (2) elements and not HSR_MAX_DEV (3). Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>