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
| ||
|
Message-Id: <20100422.160605.83866642.davem@davemloft.net> Date: Thu, 22 Apr 2010 16:06:05 -0700 (PDT) From: David Miller <davem@...emloft.net> To: leonerd@...nerd.org.uk Cc: netdev@...r.kernel.org Subject: Re: [PATCHv2] Socket filter ancilliary data access for skb->dev->type From: Paul LeoNerd Evans <leonerd@...nerd.org.uk> Date: Thu, 22 Apr 2010 14:32:22 +0100 > Add an SKF_AD_HATYPE field to the packet ancilliary data area, giving > access to skb->dev->type, as reported in the sll_hatype field. > > When capturing packets on a PF_PACKET/SOCK_RAW socket bound to all > interfaces, there doesn't appear to be a way for the filter program to > actually find out the underlying hardware type the packet was captured > on. This patch adds such ability. > > This patch also handles the case where skb->dev can be NULL, such as on > netlink sockets. > > Signed-off-by: Paul Evans <leonerd@...nerd.org.uk> Looks good, applied to net-next-2.6, thanks! -- 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