From: Pavel Emelyanov Date: Tue, 6 Dec 2011 07:59:32 +0000 (+0000) Subject: inet_diag: Cleanup type2proto last user X-Git-Tag: v3.3-rc1~182^2~321 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a029fe26b67f815eddd432d9e702b9f2edbc2535;p=pandora-kernel.git inet_diag: Cleanup type2proto last user Now all the code works with sock_diag_req-compatible structs, so it's possible to stop using the inet_diag_type2proto in inet_csk_diag_fill. Pass the inet_diag_req into it and use the sdiag_protocol field. At the same time remove the explicit ext argument, since it's also on the req. However, this conversion is still required in _compat code, so just move this routine, not remove. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller --- Reading git-diff-tree failed