From: Daniel Borkmann Date: Mon, 23 Dec 2013 13:35:55 +0000 (+0100) Subject: netlink: only do not deliver to tap when both sides are kernel sks X-Git-Tag: v3.14-rc1~94^2~350 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73bfd370c878d3feb3c3111cc17af066dc1f455b;p=pandora-kernel.git netlink: only do not deliver to tap when both sides are kernel sks We should also deliver packets to nlmon devices when we are in netlink_unicast_kernel(), and only one of the {src,dst} sockets is user sk and the other one kernel sk. That's e.g. the case in netlink diag, netlink route, etc. Still, forbid to deliver messages from kernel to kernel sks. Signed-off-by: Daniel Borkmann Signed-off-by: Jakub Zawadzki Signed-off-by: David S. Miller --- Reading git-diff-tree failed