From 2766297cbfd0111d00e35cbff1a025e61874299b Mon Sep 17 00:00:00 2001 From: Sridhar Samudrala Date: Tue, 15 Jul 2003 21:10:08 -0700 Subject: [SCTP] Reduce the size of struct sctp_ulpevent so that it fits in skb->cb even on 64-bit systems. Removed the redundant 'asoc' field in struct sctp_ulpevent and instead use sinfo_assoc_id which is present within the other field 'sndrcvinfo'. This makes the size of struct sctp_ulpevent to be less than the size of skb->cb[](48 bytes) even on 64-bit systems. --- include/net/sctp/ulpevent.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/net') diff --git a/include/net/sctp/ulpevent.h b/include/net/sctp/ulpevent.h index 6e43599919ee..949a23835584 100644 --- a/include/net/sctp/ulpevent.h +++ b/include/net/sctp/ulpevent.h @@ -54,7 +54,6 @@ * growing this structure as it is at the maximum limit now. */ struct sctp_ulpevent { - struct sctp_association *asoc; struct sctp_sndrcvinfo sndrcvinfo; int msg_flags; int iif; -- cgit v1.2.3