]> git.karo-electronics.de Git - mv-sheeva.git/commit
sctp: shrink sctp_tsnmap some more by removing gabs array
authorVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 8 Oct 2008 21:19:01 +0000 (14:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Oct 2008 21:19:01 +0000 (14:19 -0700)
commit02015180e2509afd2e3fe3790a333b30708a116b
treed2d92b62758f01375602cd7e44cb9ffbb3e44d59
parent8e1ee18c332e08bee9d8bd66e63cd564fbf17fc2
sctp: shrink sctp_tsnmap some more by removing gabs array

The gabs array in the sctp_tsnmap structure is only used
in one place, sctp_make_sack().  As such, carrying the
array around in the sctp_tsnmap and thus directly in
the sctp_association is rather pointless since most
of the time it's just taking up space.  Now, let
sctp_make_sack create and populate it and then throw
it away when it's done.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/tsnmap.h
net/sctp/sm_make_chunk.c
net/sctp/tsnmap.c