X-Git-Url: https://git.stricted.de/?a=blobdiff_plain;f=net%2Fsctp%2Ftransport.c;h=6bc27200e6cafc8251ebc50b3bac6521a943abf6;hb=e89e9cf539a28df7d0eb1d0a545368e9920b34ac;hp=0ec0fde6e6c596d19727fa831dd61991fa4c7a47;hpb=7ca6448dbfb398bba36eda3c01bc14b86c3675be;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git diff --git a/net/sctp/transport.c b/net/sctp/transport.c index 0ec0fde6e6c5..6bc27200e6ca 100644 --- a/net/sctp/transport.c +++ b/net/sctp/transport.c @@ -57,7 +57,7 @@ /* Initialize a new transport from provided memory. */ static struct sctp_transport *sctp_transport_init(struct sctp_transport *peer, const union sctp_addr *addr, - int gfp) + gfp_t gfp) { /* Copy in the address. */ peer->ipaddr = *addr; @@ -103,7 +103,6 @@ static struct sctp_transport *sctp_transport_init(struct sctp_transport *peer, /* Set up the heartbeat timer. */ init_timer(&peer->hb_timer); - peer->hb_interval = SCTP_DEFAULT_TIMEOUT_HEARTBEAT; peer->hb_timer.function = sctp_generate_heartbeat_event; peer->hb_timer.data = (unsigned long)peer; @@ -122,7 +121,8 @@ static struct sctp_transport *sctp_transport_init(struct sctp_transport *peer, } /* Allocate and initialize a new transport. */ -struct sctp_transport *sctp_transport_new(const union sctp_addr *addr, int gfp) +struct sctp_transport *sctp_transport_new(const union sctp_addr *addr, + gfp_t gfp) { struct sctp_transport *transport;