net/enic: fix crash with removed flow director filters
authorJohn Daley <johndale@cisco.com>
Thu, 29 Sep 2016 20:56:37 +0000 (13:56 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Thu, 13 Oct 2016 13:30:59 +0000 (15:30 +0200)
commite9e29d3ee2a4e9a63d723ab476310c985492739e
tree66c7af394562cb90732b44cacb9afd44f93c37ab
parent84a6971409423ce7f36dddf9583b6ab2e02f5443
net/enic: fix crash with removed flow director filters

When flow director filters where removed when an enic device is
stopped, the filters were freed but the pointer was not set to
NULL so the next stop would try to free them again.

Fixes: fefed3d1e62c ("enic: new driver")

Signed-off-by: John Daley <johndale@cisco.com>
drivers/net/enic/enic_clsf.c