Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61201
b: refs/heads/master
c: f77ae93
h: refs/heads/master
i:
  61199: d42d4a5
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jul 18, 2007
1 parent 4aed4cc commit b298770
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7d4372b5ae2f891e8bfa96c98d450255f58b4dc1
refs/heads/master: f77ae9390438409b535f3b1854672e54120cd38b
6 changes: 6 additions & 0 deletions trunk/drivers/net/pppol2tp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,13 @@ static int pppol2tp_xmit(struct ppp_channel *chan, struct sk_buff *skb)
printk("\n");
}

memset(&(IPCB(skb2)->opt), 0, sizeof(IPCB(skb2)->opt));
IPCB(skb2)->flags &= ~(IPSKB_XFRM_TUNNEL_SIZE | IPSKB_XFRM_TRANSFORMED |
IPSKB_REROUTED);
nf_reset(skb2);

/* Get routing info from the tunnel socket */
dst_release(skb2->dst);
skb2->dst = sk_dst_get(sk_tun);

/* Queue the packet to IP for output */
Expand Down

0 comments on commit b298770

Please sign in to comment.