diff options
Diffstat (limited to 'net/l2tp')
-rw-r--r-- | net/l2tp/l2tp_core.c | 3 | ||||
-rw-r--r-- | net/l2tp/l2tp_ip.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c index 98dfcce1a5fc..ecc7aea9efe4 100644 --- a/net/l2tp/l2tp_core.c +++ b/net/l2tp/l2tp_core.c | |||
@@ -954,7 +954,8 @@ int l2tp_xmit_core(struct l2tp_session *session, struct sk_buff *skb, size_t dat | |||
954 | } | 954 | } |
955 | 955 | ||
956 | /* Queue the packet to IP for output */ | 956 | /* Queue the packet to IP for output */ |
957 | error = ip_queue_xmit(skb, 1); | 957 | skb->local_df = 1; |
958 | error = ip_queue_xmit(skb); | ||
958 | 959 | ||
959 | /* Update stats */ | 960 | /* Update stats */ |
960 | if (error >= 0) { | 961 | if (error >= 0) { |
diff --git a/net/l2tp/l2tp_ip.c b/net/l2tp/l2tp_ip.c index 75bf784ba18d..0852512d392c 100644 --- a/net/l2tp/l2tp_ip.c +++ b/net/l2tp/l2tp_ip.c | |||
@@ -501,7 +501,7 @@ static int l2tp_ip_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *m | |||
501 | skb_dst_set(skb, dst_clone(&rt->u.dst)); | 501 | skb_dst_set(skb, dst_clone(&rt->u.dst)); |
502 | 502 | ||
503 | /* Queue the packet to IP for output */ | 503 | /* Queue the packet to IP for output */ |
504 | rc = ip_queue_xmit(skb, 0); | 504 | rc = ip_queue_xmit(skb); |
505 | 505 | ||
506 | error: | 506 | error: |
507 | /* Update stats */ | 507 | /* Update stats */ |