From: Tom Herbert Date: Mon, 5 Jan 2015 21:56:15 +0000 (-0800) Subject: ip: IP cmsg cleanup X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~284^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c44d13d6f341ca59f3d6646f2337d4d3c8a814a6;p=pandora-kernel.git ip: IP cmsg cleanup Move the IP_CMSG_* constants from ip_sockglue.c to inet_sock.h so that they can be referenced in other source files. Restructure ip_cmsg_recv to not go through flags using shift, check for flags by 'and'. This eliminates both the shift and a conditional per flag check. Signed-off-by: Tom Herbert Signed-off-by: David S. Miller --- Reading git-diff-tree failed