mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
net: replace ipfragok with skb->local_df
As Herbert Xu said: we should be able to simply replace ipfragok with skb->local_df. commit f88037(sctp: Drop ipfargok in sctp_xmit function) has droped ipfragok and set local_df value properly. The patch kills the ipfragok parameter of .queue_xmit(). Signed-off-by: Shan Wei <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
0eecb78494
commit
4e15ed4d93
15 changed files with 20 additions and 20 deletions
|
|
@ -232,7 +232,7 @@ static int sctp_v6_xmit(struct sk_buff *skb, struct sctp_transport *transport)
|
|||
if (!(transport->param_flags & SPP_PMTUD_ENABLE))
|
||||
skb->local_df = 1;
|
||||
|
||||
return ip6_xmit(sk, skb, &fl, np->opt, 0);
|
||||
return ip6_xmit(sk, skb, &fl, np->opt);
|
||||
}
|
||||
|
||||
/* Returns the dst cache entry for the given source and destination ip
|
||||
|
|
|
|||
|
|
@ -854,7 +854,7 @@ static inline int sctp_v4_xmit(struct sk_buff *skb,
|
|||
IP_PMTUDISC_DO : IP_PMTUDISC_DONT;
|
||||
|
||||
SCTP_INC_STATS(SCTP_MIB_OUTSCTPPACKS);
|
||||
return ip_queue_xmit(skb, 0);
|
||||
return ip_queue_xmit(skb);
|
||||
}
|
||||
|
||||
static struct sctp_af sctp_af_inet;
|
||||
|
|
|
|||
Loading…
Reference in a new issue