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
| ||
|
Date: Mon, 03 Nov 2008 00:08:10 -0800 (PST) From: David Miller <davem@...emloft.net> To: pekkas@...core.fi Cc: yjwei@...fujitsu.com, netdev@...r.kernel.org Subject: Re: [Resent] [PATCH 1/2] udp: Fix the SNMP counter of UDP_MIB_INDATAGRAMS From: Pekka Savola <pekkas@...core.fi> Date: Mon, 3 Nov 2008 10:01:42 +0200 (EET) > On Sun, 2 Nov 2008, David Miller wrote: > > From: Wei Yongjun <yjwei@...fujitsu.com> > > Date: Mon, 03 Nov 2008 10:11:01 +0800 > > > >> @@ -158,6 +159,8 @@ try_again: > >> else if (copied < ulen) > >> msg->msg_flags |= MSG_TRUNC; > >> + is_udp4 = (skb->protocol == htons(ETH_P_IP)); > >> + > > Does this work with non-ethernet link-layers ? Regardless of link layer, the skb gets marked with the ethernet protocol codes. -- 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