aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ppp/ppp_generic.c
diff options
context:
space:
mode:
authorIvan Vecera <ivecera@redhat.com>2016-02-26 09:15:50 +0100
committerDavid S. Miller <davem@davemloft.net>2016-03-01 15:19:43 -0500
commita7f4b98896f6aede26431a3017d32d722fcec5cb (patch)
treed1addca6a45844f739c158570b8c74fa58366126 /drivers/net/ppp/ppp_generic.c
parentMerge tag 'linux-can-fixes-for-4.5-20160226' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can (diff)
downloadlinux-dev-a7f4b98896f6aede26431a3017d32d722fcec5cb.tar.xz
linux-dev-a7f4b98896f6aede26431a3017d32d722fcec5cb.zip
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 'drivers/net/ppp/ppp_generic.c')
0 files changed, 0 insertions, 0 deletions