From: Craig Gallek Date: Wed, 17 Jun 2015 14:59:10 +0000 (-0400) Subject: sock_diag: fetch source port from inet_sock X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0df02e0c2118892b302e8248dbbb21698bedfed;p=pandora-kernel.git sock_diag: fetch source port from inet_sock When an inet_sock is destroyed, its source port (sk_num) is set to zero as part of the unhash procedure. In order to supply a source port as part of the NETLINK_SOCK_DIAG socket destruction broadcasts, the source port number must be read from inet_sport instead. Tested: ss -E Signed-off-by: Craig Gallek Signed-off-by: David S. Miller --- Reading git-diff-tree failed