summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/netronome/nfp/nfp_net.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-07-12 10:42:06 +0300
committerDavid S. Miller <davem@davemloft.net>2017-07-12 18:18:14 +0300
commit88f0f09b3ab7d817b897cedbd7a05a565ff4f75a (patch)
treeddff66561153cd34ed31f681bf48516f5a0bcabb /drivers/net/ethernet/netronome/nfp/nfp_net.h
parentda29676993ff500714142b1f76db07db170934a3 (diff)
downloadlinux-88f0f09b3ab7d817b897cedbd7a05a565ff4f75a.tar.xz
nfp: freeing the wrong variable
We accidentally free a NULL pointer and leak the pointer we want to free. Also you can tell from the label name what was intended. :) Fixes: abfcdc1de9bf ("nfp: add a stats handler for flower offloads") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/nfp_net.h')
0 files changed, 0 insertions, 0 deletions