aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/af_inet.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-11-26 13:19:31 -0800
committerDavid S. Miller <davem@davemloft.net>2019-11-26 13:19:31 -0800
commite94a5d1681fcf6d857503a53febb4a54cee7e1d3 (patch)
treeceecd9cb0274d0e68775f658cc166416bed32427 /net/ipv4/af_inet.c
parentnet-sctp: replace some sock_net(sk) with just 'net' (diff)
parentibmvnic: Serialize device queries (diff)
downloadlinux-dev-e94a5d1681fcf6d857503a53febb4a54cee7e1d3.tar.xz
linux-dev-e94a5d1681fcf6d857503a53febb4a54cee7e1d3.zip
Merge branch 'ibmvnic-Harden-device-commands-and-queries'
Thomas Falcon says: ==================== ibmvnic: Harden device commands and queries This patch series fixes some shortcomings with the current VNIC device command implementation. The first patch fixes the initialization of driver completion structures used for device commands. Additionally, all waits for device commands are bounded with a timeout in the event that the device does not respond or becomes inoperable. Finally, serialize queries to retain the integrity of device return codes. Changes in v2: - included header comment for ibmvnic_wait_for_completion - removed open-coded loop in patch 3/4, suggested by Jakub - ibmvnic_wait_for_completion accepts timeout value in milliseconds instead of jiffies - timeout calculations cleaned up and completed before wait loop - included missing mutex_destroy calls, suggested by Jakub - included comment before mutex declaration ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions