aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorCraig Gallek <[email protected]>2015-06-17 14:59:10 +0000
committerDavid S. Miller <[email protected]>2015-06-21 17:16:50 +0000
commite0df02e0c2118892b302e8248dbbb21698bedfed (patch)
treeea0483402fab420afc7dd5732018c0d3d10d9265 /net/switchdev/switchdev.c
parentnet: via/Kconfig: replace USE_OF with OF_??? (diff)
downloadkernel-e0df02e0c2118892b302e8248dbbb21698bedfed.tar.gz
kernel-e0df02e0c2118892b302e8248dbbb21698bedfed.zip
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions