X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=net%2Fsctp%2Fulpevent.c;h=706f5bc9f0c3083ab455ec78b963cd609a3a95b5;hb=f5d258e60722142e88cb6f0f337d78bca67cf973;hp=d1e38308f6159c0e4da7db966c16afc6a956b554;hpb=911883759fed56c32b97d73154039b5f8ffcba93;p=cascardo%2Flinux.git diff --git a/net/sctp/ulpevent.c b/net/sctp/ulpevent.c index d1e38308f615..706f5bc9f0c3 100644 --- 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, - int msg_flags, + __u16 msg_flags, 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. */ -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;