projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sctp: reorder sctp_ulpevent and shrink msg_flags
[cascardo/linux.git]
/
net
/
sctp
/
ulpevent.c
diff --git
a/net/sctp/ulpevent.c
b/net/sctp/ulpevent.c
index
d1e3830
..
706f5bc
100644
(file)
--- a/
net/sctp/ulpevent.c
+++ b/
net/sctp/ulpevent.c
@@
-51,7
+51,7
@@
static void sctp_ulpevent_release_frag_data(struct sctp_ulpevent *event);
/* Initialize an ULP event from an given skb. */
static void sctp_ulpevent_init(struct sctp_ulpevent *event,
/* Initialize an ULP event from an given skb. */
static void sctp_ulpevent_init(struct sctp_ulpevent *event,
-
int
msg_flags,
+
__u16
msg_flags,
unsigned int len)
{
memset(event, 0, sizeof(struct sctp_ulpevent));
unsigned int len)
{
memset(event, 0, sizeof(struct sctp_ulpevent));
@@
-60,7
+60,7
@@
static void sctp_ulpevent_init(struct sctp_ulpevent *event,
}
/* Create a new sctp_ulpevent. */
}
/* Create a new sctp_ulpevent. */
-static struct sctp_ulpevent *sctp_ulpevent_new(int size,
int
msg_flags,
+static struct sctp_ulpevent *sctp_ulpevent_new(int size,
__u16
msg_flags,
gfp_t gfp)
{
struct sctp_ulpevent *event;
gfp_t gfp)
{
struct sctp_ulpevent *event;