summaryrefslogtreecommitdiff
path: root/examples/ethtool
diff options
context:
space:
mode:
authorAlan Dewar <adewar@brocade.com>2017-02-06 18:32:42 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2017-02-09 18:46:52 +0100
commit3b780b9e9e9221725abbad9820704d05d7d2805e (patch)
tree3823cca931134f3c948470118e365d832f74fcc7 /examples/ethtool
parent811b6b25060f8b0ba32fd35af7c5f0354bd57a14 (diff)
downloaddpdk-3b780b9e9e9221725abbad9820704d05d7d2805e.zip
dpdk-3b780b9e9e9221725abbad9820704d05d7d2805e.tar.gz
dpdk-3b780b9e9e9221725abbad9820704d05d7d2805e.tar.xz
sched: fix crash when freeing port
Prevent a segmentation fault in rte_sched_port_free by only accessing the port structure after the NULL pointer check has been made. Fixes: 7b3c4f35 ("sched: fix releasing enqueued packets") Cc: stable@dpdk.org Signed-off-by: Alan Dewar <adewar@brocade.com> Signed-off-by: Jan Blunck <jblunck@infradead.org> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Diffstat (limited to 'examples/ethtool')
0 files changed, 0 insertions, 0 deletions