From: Lorenzo Colitti Date: Fri, 31 May 2013 15:05:48 +0000 (+0000) Subject: net: ipv6: Unify {raw,udp}6_sock_seq_show. X-Git-Tag: v3.11-rc1~16^2~205 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17ef66afc0bdbbdc5c526db5e24bdd2dc3df1205;p=pandora-kernel.git net: ipv6: Unify {raw,udp}6_sock_seq_show. udp6_sock_seq_show and raw6_sock_seq_show are identical, except the UDP version displays ports and the raw version displays the protocol. Refactor most of the code in these two functions into a new common ip6_dgram_sock_seq_show function, in preparation for using it to display ICMPv6 sockets as well. Also reduce the indentation in parts of include/net/transp_v6.h to improve readability. Compiles and displays reasonable results with CONFIG_IPV6={n,m,y} Signed-off-by: Lorenzo Colitti Signed-off-by: David S. Miller --- Reading git-diff-tree failed