]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/sctp/output.c
sctp: Drop ipfargok in sctp_xmit function
[linux-2.6-omap-h63xx.git] / net / sctp / output.c
index 45684646b1dba32a9e1c565713adc527c84095c3..0dc4a7dfb23443eacbe4accda160787443646906 100644 (file)
@@ -586,10 +586,8 @@ int sctp_packet_transmit(struct sctp_packet *packet)
        SCTP_DEBUG_PRINTK("***sctp_transmit_packet*** skb len %d\n",
                          nskb->len);
 
-       if (tp->param_flags & SPP_PMTUD_ENABLE)
-               (*tp->af_specific->sctp_xmit)(nskb, tp, packet->ipfragok);
-       else
-               (*tp->af_specific->sctp_xmit)(nskb, tp, 1);
+       nskb->local_df = packet->ipfragok;
+       (*tp->af_specific->sctp_xmit)(nskb, tp);
 
 out:
        packet->size = packet->overhead;