diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-04-20 14:24:55 +0300 |
|---|---|---|
| committer | Simon Horman <horms@verge.net.au> | 2013-04-23 11:43:06 +0900 |
| commit | 4bfbfbf91fb3a29a775f6ea11e3a8198685590ae (patch) | |
| tree | c78fc7a814453f3451c82916ead928f105306997 /tools/perf/scripts/python | |
| parent | ipvs: Use min3() in ip_vs_dbg_callid() (diff) | |
| download | linux-4bfbfbf91fb3a29a775f6ea11e3a8198685590ae.tar.gz linux-4bfbfbf91fb3a29a775f6ea11e3a8198685590ae.zip | |
ipvs: off by one in set_sctp_state()
The sctp_events[] come from sch->type in set_sctp_state(). They are
between 0-255 so that means we need 256 elements in the array.
I believe that because of how the code is aligned there is normally a
hole after sctp_events[] so this patch doesn't actually change anything.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
