pptp.c (01b944fe1cd4e21a2a9ed51adbdbafe2d5e905ba) | pptp.c (e2cb77db089796f163092326ca25512845df7a3a) |
---|---|
1/* 2 * Point-to-Point Tunneling Protocol for Linux 3 * 4 * Authors: Dmitry Kozlov <xeb@mail.ru> 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 268 unchanged lines hidden (view full) --- 277 skb_dst_set(skb, &rt->dst); 278 279 nf_reset(skb); 280 281 skb->ip_summed = CHECKSUM_NONE; 282 ip_select_ident(sock_net(sk), skb, NULL); 283 ip_send_check(iph); 284 | 1/* 2 * Point-to-Point Tunneling Protocol for Linux 3 * 4 * Authors: Dmitry Kozlov <xeb@mail.ru> 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 268 unchanged lines hidden (view full) --- 277 skb_dst_set(skb, &rt->dst); 278 279 nf_reset(skb); 280 281 skb->ip_summed = CHECKSUM_NONE; 282 ip_select_ident(sock_net(sk), skb, NULL); 283 ip_send_check(iph); 284 |
285 ip_local_out(skb); | 285 ip_local_out(skb->sk, skb); |
286 return 1; 287 288tx_error: 289 kfree_skb(skb); 290 return 1; 291} 292 293static int pptp_rcv_core(struct sock *sk, struct sk_buff *skb) --- 426 unchanged lines hidden --- | 286 return 1; 287 288tx_error: 289 kfree_skb(skb); 290 return 1; 291} 292 293static int pptp_rcv_core(struct sock *sk, struct sk_buff *skb) --- 426 unchanged lines hidden --- |