--- zzzz-none-000/linux-2.6.28.10/drivers/net/pppol2tp.c 2009-05-02 18:54:43.000000000 +0000 +++ fusiv-7390-686/linux-2.6.28.10/drivers/net/pppol2tp.c 2012-09-05 12:54:54.000000000 +0000 @@ -1019,6 +1019,9 @@ unsigned int len; int old_headroom; int new_headroom; +#ifdef CONFIG_L2TP_AP_SUPPORT + unsigned char innerIPTosVal ; +#endif if (sock_flag(sk, SOCK_DEAD) || !(sk->sk_state & PPPOX_CONNECTED)) goto abort; @@ -1035,6 +1038,21 @@ if (tunnel == NULL) goto abort_put_sess; +#ifdef CONFIG_L2TP_AP_SUPPORT + innerIPTosVal = qosGetTosValue(skb); +#ifdef L2TP_AP_DEBUG + { + unsigned char *p = skb->data; + int i; + for(i = 0 ; i< 40 ; i++,p++) + { + printk("%X ",*p); + if(!((i+1) % 16)) printk("\n"); + } + } +#endif + +#endif /* What header length is configured for this session? */ hdr_len = pppol2tp_l2tp_header_len(session);