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 <shanwei@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
0eecb78494
commit
4e15ed4d93
@@ -178,7 +178,7 @@ struct dst_entry *__inet6_csk_dst_check(struct sock *sk, u32 cookie)
|
||||
return dst;
|
||||
}
|
||||
|
||||
int inet6_csk_xmit(struct sk_buff *skb, int ipfragok)
|
||||
int inet6_csk_xmit(struct sk_buff *skb)
|
||||
{
|
||||
struct sock *sk = skb->sk;
|
||||
struct inet_sock *inet = inet_sk(sk);
|
||||
@@ -234,7 +234,7 @@ int inet6_csk_xmit(struct sk_buff *skb, int ipfragok)
|
||||
/* Restore final destination back after routing done */
|
||||
ipv6_addr_copy(&fl.fl6_dst, &np->daddr);
|
||||
|
||||
return ip6_xmit(sk, skb, &fl, np->opt, 0);
|
||||
return ip6_xmit(sk, skb, &fl, np->opt);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL_GPL(inet6_csk_xmit);
|
||||
|
Reference in New Issue
Block a user