diff options
author | Ivan Vecera <ivecera@redhat.com> | 2016-02-26 09:15:50 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-01 15:19:43 -0500 |
commit | a7f4b98896f6aede26431a3017d32d722fcec5cb (patch) | |
tree | d1addca6a45844f739c158570b8c74fa58366126 /kernel/watchdog.c | |
parent | c44a72a5e8c16751af456cd711720c3aabd40cdd (diff) | |
download | linux-a7f4b98896f6aede26431a3017d32d722fcec5cb.tar.bz2 |
bna: fix list corruption
Use list_move_tail() to move MAC address entry from list of pending
to list of active entries. Simple list_add_tail() leaves the entry
also in the first list, this leads to list corruption.
Cc: Rasesh Mody <rasesh.mody@qlogic.com>
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Acked-by: Rasesh Mody <rasesh.mody@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/watchdog.c')
0 files changed, 0 insertions, 0 deletions