summaryrefslogtreecommitdiff
path: root/net/key
diff options
context:
space:
mode:
authorNetanel Belgazal <netanel@annapurnalabs.com>2017-02-09 15:21:33 +0200
committerDavid S. Miller <davem@davemloft.net>2017-02-09 22:27:06 -0500
commit3f6159dbfc24c5e61fb5deb9b69e0abb934609bb (patch)
treef5abffa0b354b502a1dfad022001dc096a4ae5cf /net/key
parentd81db24056132fe8b83e2fba337e9ea76675e68d (diff)
net/ena: fix potential access to freed memory during device reset
If the ena driver detects that the device is not behave as expected, it tries to reset the device. The reset flow calls ena_down, which will frees all the resources the driver allocates and then it will reset the device. This flow can cause memory corruption if the device is still writes to the driver's memory space. To overcome this potential race, move the reset before the device resources are freed. Signed-off-by: Netanel Belgazal <netanel@annapurnalabs.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions
bstcharding1-71/+71 2017-02-10net/act_pedit: Introduce 'add' operationAmir Vadai1-4/+26 2017-02-10net/act_pedit: Support using offset relative to the conventional network headersAmir Vadai1-16/+180 2017-02-10switchdev: bridge: Offload mc router portsNogah Frankel1-0/+15 2017-02-10bridge: mcast: Merge the mc router ports deletions to one functionNogah Frankel1-15/+9 2017-02-10switchdev: bridge: Offload multicast disabledNogah Frankel1-0/+16 2017-02-10sched: check negative err value to safe one level of indentJiri Pirko1-13/+9 2017-02-10sched: add missing curly braces in else branch in tc_ctl_tfilterJiri Pirko1-1/+2 2017-02-10sched: move err set right before goto errout in tc_ctl_tfilterJiri Pirko1-10/+19 2017-02-10sched: push TC filter protocol creation into a separate functionJiri Pirko1-51/+59 2017-02-10sched: move tcf_proto_destroy and tcf_destroy_chain helpers into cls_apiJiri Pirko13-24/+32 2017-02-10sched: rename tcf_destroy to tcf_destroy_protoJiri Pirko2-6/+6 2017-02-10ipv4: fib: Add events for FIB replace and appendIdo Schimmel1-13/+14 2017-02-10ipv4: fib: Send notification before deleting FIB aliasIdo Schimmel1-7/+7 2017-02-10ipv4: fib: Send deletion notification with actual FIB alias typeIdo Schimmel1-2/+2 2017-02-10ipv4: fib: Only flush FIB aliases belonging to currently flushed tableIdo Schimmel1-1/+2 2017-02-09openvswitch: Pack struct sw_flow_key.Jarno Rajahalme4-34/+39 2017-02-09openvswitch: Add force commit.Jarno Rajahalme1-2/+24 2017-02-09openvswitch: Add original direction conntrack tuple to sw_flow_key.Jarno Rajahalme