aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_mode_tunnel.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-06-19 09:37:31 +0200
committerIngo Molnar <mingo@elte.hu>2008-06-19 09:37:31 +0200
commitd819c49da624e3ee09b2844603d58265039eecdd (patch)
tree09a503b98769767d81337ec8e5c14c60874a4e77 /net/ipv4/xfrm4_mode_tunnel.c
parentf18f982abf183e91f435990d337164c7a43d1e6d (diff)
parent9bedbcb207ed9a571b239231d99c8fd4a34ae24d (diff)
downloadkernel_samsung_aries-d819c49da624e3ee09b2844603d58265039eecdd.zip
kernel_samsung_aries-d819c49da624e3ee09b2844603d58265039eecdd.tar.gz
kernel_samsung_aries-d819c49da624e3ee09b2844603d58265039eecdd.tar.bz2
Merge branch 'linus' into sched/urgent
Diffstat (limited to 'net/ipv4/xfrm4_mode_tunnel.c')
-rw-r--r--net/ipv4/xfrm4_mode_tunnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/xfrm4_mode_tunnel.c b/net/ipv4/xfrm4_mode_tunnel.c
index 584e6d7..7135279 100644
--- a/net/ipv4/xfrm4_mode_tunnel.c
+++ b/net/ipv4/xfrm4_mode_tunnel.c
@@ -52,7 +52,7 @@ static int xfrm4_mode_tunnel_output(struct xfrm_state *x, struct sk_buff *skb)
IP_ECN_clear(top_iph);
top_iph->frag_off = (flags & XFRM_STATE_NOPMTUDISC) ?
- 0 : XFRM_MODE_SKB_CB(skb)->frag_off;
+ 0 : (XFRM_MODE_SKB_CB(skb)->frag_off & htons(IP_DF));
ip_select_ident(top_iph, dst->child, NULL);
top_iph->ttl = dst_metric(dst->child, RTAX_HOPLIMIT);