diff options
author | 2018-11-20 12:11:39 +0530 | |
---|---|---|
committer | 2018-11-20 10:29:36 -0800 | |
commit | b539ea60f5043b9acd7562f04fa2117f18776cbb (patch) | |
tree | 2026ef28250849c40339e2dc647c6adbfdc39491 /net/lapb/lapb_timer.c | |
parent | tcp: drop dst in tcp_add_backlog() (diff) | |
download | linux-dev-b539ea60f5043b9acd7562f04fa2117f18776cbb.tar.xz linux-dev-b539ea60f5043b9acd7562f04fa2117f18776cbb.zip |
cxgb4/cxgb4vf: Fix mac_hlist initialization and free
Null pointer dereference seen when cxgb4vf driver is unloaded
without bringing up any interfaces, moving mac_hlist initialization
to driver probe and free the mac_hlist in remove to fix the issue.
Fixes: 24357e06ba51 ("cxgb4vf: fix memleak in mac_hlist initialization")
Signed-off-by: Arjun Vynipadath <arjun@chelsio.com>
Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions