diff options
author | 2015-02-05 08:45:43 -0500 | |
---|---|---|
committer | 2015-02-24 10:49:47 +0100 | |
commit | f2831e2007810b690f93a26128058a193eadf393 (patch) | |
tree | e434484749d21bc7da4aa1d87ca4587c9c7dbfd0 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | tcp: fix tcp_should_expand_sndbuf() to use tcp_packets_in_flight() (diff) | |
download | wireguard-linux-f2831e2007810b690f93a26128058a193eadf393.tar.xz wireguard-linux-f2831e2007810b690f93a26128058a193eadf393.zip |
mac80211_hwsim: fix error handling in tx_frame_nl
Correct two problems with the error handling when using the netlink
forwarding API: first, the netlink skb is never freed if nla_put()
fails; and second, genlmsg_unicast() can fail if the netlink socket
is full. In the latter case, the corresponding data skb is not counted
as a drop and userspace programs like wmediumd will see TCP stalls
due to lost packets.
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions