lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 2 Mar 2012 15:43:57 +0100
From:	Francois Romieu <romieu@...zoreil.com>
To:	Syed Muhammad Mohsin Kazmi <08beesmmkazmi@...cs.edu.pk>
Cc:	netdev@...r.kernel.org
Subject: Re: data is truncated in skb

Syed Muhammad Mohsin Kazmi <08beesmmkazmi@...cs.edu.pk> :
[...]
> 	if(skb->data == push3)
> 	{
> 		skb_set_mac_header(skb,0);
> 	
> 		skb_pull(skb,ETH_HLEN);

May be this skb_pull as a start. Hard to tell without context (and I am not
a free as in beer consultant for proprietary or academic homework).

[...]
> 	printk("\t\t\tencapsulated Buffer\n");

Help yourself: see Documentation/trace/kprobetrace.txt and check the
skb_xyz calls.

-- 
Ueomor
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ