diff options
Diffstat (limited to 'net/sctp/tsnmap.c')
-rw-r--r-- | net/sctp/tsnmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/tsnmap.c b/net/sctp/tsnmap.c index 42d9498c64fa..d3192a1babcc 100644 --- a/net/sctp/tsnmap.c +++ b/net/sctp/tsnmap.c | |||
@@ -277,7 +277,7 @@ static void sctp_tsnmap_update(struct sctp_tsnmap *map) | |||
277 | /* Now tsn_map must have been all '1's, | 277 | /* Now tsn_map must have been all '1's, |
278 | * so we swap the map and check the overflow table | 278 | * so we swap the map and check the overflow table |
279 | */ | 279 | */ |
280 | __u8 *tmp = map->tsn_map; | 280 | __u8 *tmp = map->tsn_map; |
281 | memset(tmp, 0, map->len); | 281 | memset(tmp, 0, map->len); |
282 | map->tsn_map = map->overflow_map; | 282 | map->tsn_map = map->overflow_map; |
283 | map->overflow_map = tmp; | 283 | map->overflow_map = tmp; |