From: Peter P. Waskiewicz Jr Date: Fri, 20 Apr 2007 23:05:39 +0000 (-0700) Subject: [AF_PACKET]: Add option to return orig_dev to userspace. X-Git-Tag: v2.6.22-rc1~1128^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80feaacb8a6400a9540a961b6743c69a5896b937;p=pandora-kernel.git [AF_PACKET]: Add option to return orig_dev to userspace. Add a packet socket option to allow the orig_dev index to be returned to userspace when passing traffic through a decapsulated device, such as the bonding driver. This is very useful for layer 2 traffic being able to report which physical device actually received the traffic, instead of having the encapsulating device hide that information. The new option is called PACKET_ORIGDEV. Signed-off-by: Peter P. Waskiewicz Jr. Signed-off-by: David S. Miller --- Reading git-diff-tree failed