Commit Graph

11 Commits

Author SHA1 Message Date
Alexander Couzens 3d2c99c54d l2tpd_lapd/lapd_ehdlc_to_lapd(): improve log message 2020-05-03 19:27:45 +02:00
Alexander Couzens 93ec7f0aed l2tpd_lapd: improve lapd_ehdlc_to_lapd() function comment 2020-05-03 19:27:45 +02:00
Alexander Couzens aa97a1d4b1 l2tpd_lapd: fix memleak when sending data to unix sockets
The msg was allocated a second time by msgb_copy() even when lapd_ehdlc_to_lapd
handles the further allocation itself. Meaning every data packet leaked.
2020-05-03 19:27:45 +02:00
Alexander Couzens 5ba33810a2 l2tpd_lapd: check rc of wqueue_enqueue because
wqueue_enqueue now returns -ENOSPC when the queue is full
2020-05-03 19:27:45 +02:00
Alexander Couzens 183f9d6e5c l2tpd: add name to traffic_channels to improve logging 2020-05-03 19:27:45 +02:00
Alexander Couzens 923f4c9f1c l2tpd: move logging into own file 2020-05-03 19:27:45 +02:00
Alexander Couzens 9143daf21e l2tp_packet: remove logoutput on every data packet 2016-11-11 16:18:24 +01:00
Alexander Couzens 95f8ae04bd lapd_switch_altc: allow to switch between timeslot and superchannel
a special crafted packet can switch between the modes. The packet look like
0x23004200 as magic and 1byte as value (0 = timeslot, 1 = superchannel)
2016-11-11 16:17:54 +01:00
Alexander Couzens 388a33ca9c lapd: use l2tp_msgb_alloc() instead of msgb_alloc() 2016-11-08 11:41:36 +01:00
Alexander Couzens 283c2c3257 lapd: free message in unix_rsl_oml_cb() 2016-11-08 11:41:36 +01:00
Alexander Couzens 1e1eebddc6 implement lapd decoding/encoding and rx/tx data path 2016-11-02 21:31:49 +01:00