net/sctp/tsnmap.c
changeset 2 d1f6d8b6f81c
parent 0 aa628870c1d3
equal deleted inserted replaced
1:0056487c491e 2:d1f6d8b6f81c
   225 		/* If our gap is larger then the map size, just
   225 		/* If our gap is larger then the map size, just
   226 		 * zero out the map.
   226 		 * zero out the map.
   227 		 */
   227 		 */
   228 		bitmap_zero(map->tsn_map, map->len);
   228 		bitmap_zero(map->tsn_map, map->len);
   229 	} else {
   229 	} else {
   230 		/* If the gap is smaller then the map size,
   230 		/* If the gap is smaller than the map size,
   231 		 * shift the map by 'gap' bits and update further.
   231 		 * shift the map by 'gap' bits and update further.
   232 		 */
   232 		 */
   233 		bitmap_shift_right(map->tsn_map, map->tsn_map, gap, map->len);
   233 		bitmap_shift_right(map->tsn_map, map->tsn_map, gap, map->len);
   234 		sctp_tsnmap_update(map);
   234 		sctp_tsnmap_update(map);
   235 	}
   235 	}