git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
net
/
sctp
/
tsnmap.c
diff --git
a/net/sctp/tsnmap.c
b/net/sctp/tsnmap.c
index
ac4fae1
..
42d9498
100644
(file)
--- a/
net/sctp/tsnmap.c
+++ b/
net/sctp/tsnmap.c
@@
-401,13
+401,14
@@
__u16 sctp_tsnmap_num_gabs(struct sctp_tsnmap *map)
/* Refresh the gap ack information. */
if (sctp_tsnmap_has_gap(map)) {
/* Refresh the gap ack information. */
if (sctp_tsnmap_has_gap(map)) {
+ __u16 start, end;
sctp_tsnmap_iter_init(map, &iter);
while (sctp_tsnmap_next_gap_ack(map, &iter,
sctp_tsnmap_iter_init(map, &iter);
while (sctp_tsnmap_next_gap_ack(map, &iter,
- &
map->gabs[gabs].
start,
- &
map->gabs[gabs].
end)) {
+ &start,
+ &end)) {
- map->gabs[gabs].start = htons(
map->gabs[gabs].
start);
- map->gabs[gabs].end = htons(
map->gabs[gabs].
end);
+ map->gabs[gabs].start = htons(start);
+ map->gabs[gabs].end = htons(end);
gabs++;
if (gabs >= SCTP_MAX_GABS)
break;
gabs++;
if (gabs >= SCTP_MAX_GABS)
break;