Guillaume Nault
e91793bb61
l2tp: purge socket queues in the .destruct() callback
...
The Rx path may grab the socket right before pppol2tp_release(), but
nothing guarantees that it will enqueue packets before
skb_queue_purge(). Therefore, the socket can be destroyed without its
queues fully purged.
Fix this by purging queues in pppol2tp_session_destruct() where we're
guaranteed nothing is still referencing the socket.
Fixes: 9e9cb6221a ("l2tp: fix userspace reception on plain L2TP sockets")
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-03-29 09:26:28 -07:00
..
2017-01-22 16:46:13 -05:00
2017-03-03 21:44:35 -08:00
2017-02-06 11:25:57 -05:00
2017-02-27 18:43:47 -08:00
2017-03-09 18:23:27 -08:00
2017-03-09 18:23:27 -08:00
2017-03-16 12:05:38 -07:00
2017-03-09 18:23:27 -08:00
2017-03-16 21:29:20 -07:00
2017-03-02 08:42:29 +01:00
2017-01-30 11:05:04 +01:00
2017-03-07 14:30:38 +01:00
2017-03-24 19:27:44 -07:00
2017-03-13 22:00:42 -07:00
2017-03-09 18:23:27 -08:00
2017-03-03 10:16:38 -08:00
2017-02-11 02:31:11 -05:00
2017-02-16 21:25:49 -05:00
2017-02-21 13:25:22 -05:00
2017-02-27 18:43:47 -08:00
2017-02-03 15:16:45 -05:00
2017-03-27 21:06:53 -07:00
2017-03-22 12:40:22 -07:00
2017-03-09 18:23:27 -08:00
2017-03-09 18:23:27 -08:00
2017-03-24 13:13:53 -07:00
2017-03-29 09:26:28 -07:00
2017-03-09 18:23:27 -08:00
2017-03-04 17:31:39 -08:00
2017-03-02 08:42:38 +01:00
2017-03-16 20:22:18 -07:00
2017-03-15 17:15:54 +01:00
2017-03-22 15:38:43 -07:00
2017-03-09 18:23:27 -08:00
2017-03-09 18:23:27 -08:00
2017-03-28 21:56:11 -07:00
2017-03-01 20:55:57 -08:00
2017-03-09 18:23:27 -08:00
2017-01-24 13:44:28 -05:00
2017-03-09 18:23:27 -08:00
2017-01-24 11:07:35 +01:00
2017-03-09 18:23:27 -08:00
2017-03-16 21:27:57 -07:00
2017-03-21 17:21:27 -07:00
2017-03-28 17:56:15 -07:00
2017-03-09 18:23:27 -08:00
2017-03-03 20:43:26 -08:00
2017-03-17 14:16:22 -07:00
2017-03-22 11:59:16 -07:00
2017-03-21 15:25:10 -07:00
2017-03-21 14:41:47 -07:00
2017-03-16 10:30:03 +01:00
2017-03-09 18:23:27 -08:00
2017-03-07 15:00:37 -08:00
2017-02-22 10:15:09 -08:00
2017-02-17 13:40:05 -05:00
2017-02-03 15:16:45 -05:00
2017-03-21 18:44:17 -07:00