diff options
| author | Tim Sell <[email protected]> | 2015-07-09 13:27:45 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-07-14 18:34:58 -0700 |
| commit | 46dfa3d83464c7ee694ff32761645c3e27fcfc48 (patch) | |
| tree | 7af7cf69310e9e7d7e40a65d15a7e0f0688ca850 /include/linux/root_dev.h | |
| parent | 5deeea3379b2fc34d07cfb909b2905e9e1116615 (diff) | |
staging: unisys: neglect to NULL rcvbuf pointer
Neglect to NULL rcvbuf pointer array could result in faults later
This problem would exhibit itself as a fault when when attempting to stop
any visornic device (i.e., in visornic_disable_with_timeout() or
visornic_serverdown_complete()) that had never been started (i.e., for
which init_rcv_bufs() had never been called). Because the array of rcvbuf
was never cleared to NULLs, we would mistakenly attempt to call kfree_skb()
on garbage memory.
Signed-off-by: Tim Sell <[email protected]>
Signed-off-by: Benjamin Romer <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions