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>] [day] [month] [year] [list]
Message-ID: <AANLkTinyUkQXbwD1QNI4he5XR0EdUzMnpYKI6xd-vifP@mail.gmail.com>
Date:	Thu, 13 May 2010 10:46:28 +0530
From:	ratheesh k <ratheesh.ksz@...il.com>
To:	netdev@...r.kernel.org
Subject: printk mac address --hangs

/* code snippent */
 char src[ETH_ALEN+2];
 char dst[ETH_ALEN+2];

 eth_header = eth_hdr(skb);
 memcpy(src , eth_header->h_source , ETH_ALEN );
 memcpy(dst , eth_header->h_dest , ETH_ALEN );


Linux crashes . But if comment out memcpy lines  . It works . What is
the problem here ?
How can i printk both source mac and dest mac address  ?

Thanks,
Ratheesh
--
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