OSDN Git Service

l2tp: purge session reorder queue on delete
authorTom Parkin <tparkin@katalix.com>
Tue, 19 Mar 2013 06:11:20 +0000 (06:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 16:10:39 +0000 (12:10 -0400)
commit4c6e2fd35460208596fa099ee0750a4b0438aa5c
tree3f4db5d8c9433cdb38f744cfd3e63ed1956f6f2b
parent48f72f92b31431c40279b0fba6c5588e07e67d95
l2tp: purge session reorder queue on delete

Add calls to l2tp_session_queue_purge as a part of l2tp_tunnel_closeall
and l2tp_session_delete.  Pseudowire implementations which are deleted only
via. l2tp_core l2tp_session_delete calls can dispense with their own code for
flushing the reorder queue.

Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_core.c