protocol.c (ecd740c6f2f092b90b95fa35f757973589eaaca2) protocol.c (b0270e91014dabfceaf37f5b40ad51bbf21a1302)
1/* SCTP kernel implementation
2 * (C) Copyright IBM Corp. 2001, 2004
3 * Copyright (c) 1999-2000 Cisco, Inc.
4 * Copyright (c) 1999-2001 Motorola, Inc.
5 * Copyright (c) 2001 Intel Corp.
6 * Copyright (c) 2001 Nokia, Inc.
7 * Copyright (c) 2001 La Monte H.P. Yarroll
8 *

--- 943 unchanged lines hidden (view full) ---

952 pr_debug("%s: skb:%p, len:%d, src:%pI4, dst:%pI4\n", __func__, skb,
953 skb->len, &transport->fl.u.ip4.saddr, &transport->fl.u.ip4.daddr);
954
955 inet->pmtudisc = transport->param_flags & SPP_PMTUD_ENABLE ?
956 IP_PMTUDISC_DO : IP_PMTUDISC_DONT;
957
958 SCTP_INC_STATS(sock_net(&inet->sk), SCTP_MIB_OUTSCTPPACKS);
959
1/* SCTP kernel implementation
2 * (C) Copyright IBM Corp. 2001, 2004
3 * Copyright (c) 1999-2000 Cisco, Inc.
4 * Copyright (c) 1999-2001 Motorola, Inc.
5 * Copyright (c) 2001 Intel Corp.
6 * Copyright (c) 2001 Nokia, Inc.
7 * Copyright (c) 2001 La Monte H.P. Yarroll
8 *

--- 943 unchanged lines hidden (view full) ---

952 pr_debug("%s: skb:%p, len:%d, src:%pI4, dst:%pI4\n", __func__, skb,
953 skb->len, &transport->fl.u.ip4.saddr, &transport->fl.u.ip4.daddr);
954
955 inet->pmtudisc = transport->param_flags & SPP_PMTUD_ENABLE ?
956 IP_PMTUDISC_DO : IP_PMTUDISC_DONT;
957
958 SCTP_INC_STATS(sock_net(&inet->sk), SCTP_MIB_OUTSCTPPACKS);
959
960 return ip_queue_xmit(skb, &transport->fl);
960 return ip_queue_xmit(&inet->sk, skb, &transport->fl);
961}
962
963static struct sctp_af sctp_af_inet;
964
965static struct sctp_pf sctp_pf_inet = {
966 .event_msgname = sctp_inet_event_msgname,
967 .skb_msgname = sctp_inet_skb_msgname,
968 .af_supported = sctp_inet_af_supported,

--- 579 unchanged lines hidden ---
961}
962
963static struct sctp_af sctp_af_inet;
964
965static struct sctp_pf sctp_pf_inet = {
966 .event_msgname = sctp_inet_event_msgname,
967 .skb_msgname = sctp_inet_skb_msgname,
968 .af_supported = sctp_inet_af_supported,

--- 579 unchanged lines hidden ---