R:200218/0605z @:K3CHB.#EPA.PA.USA.NOAM [Mechanicsburg, PA] [2.0m-B1FHIM$] #:22575 $:22573_K3CHB Z:17055 >Marius Petrescu marius at yo2loj.ro >Tue Sep 17 15:23:33 EDT 2019 Let me explain the patch so maybe you can do it yourself, since the code will probably not work on a 5.x kernel... The target function is ax25_disconnect(ax25_cb *ax25, int reason). The function is in the file ax25_subr.c in the 4.9 version. the last part is an: if (ax25- sk != NULL) { (...the ax25 socket is closed here...) } This if catches only full ax25 connections, not the ones associated with netrom connections. So for netrom connections, we also need a socket deletion, so add to this if the following else: else { ax25_destroy_socket(ax25) } Maybe this helps get you going... Marius, YO2LOJ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BUILD GUIDE: LINUX KERNEL FROM SOURCE DEBIAN ------------------------------- [0] Download build tools $ sudo apt install build-essential bison flex gnupg libncurses-dev libelf-dev libssl-dev wget [1] Import crypto signing keys belonging to kernel release developers $ gpg --locate-keys torvalds@kernel.org gregkh@kernel.org [2] Download to my home directory the latest stable kernel source and signature (5.3 as of 2019-09-22) $ mkdir ~/kernel $ cd ~/kernel $ wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.5.4.tar.xz $ wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.5.4.tar.sign [3] Verify $ unxz -c linux-5.5.4.tar.xz | gpg --verify linux-5.3.tar.sign - gpg: Signature made Mon 16 Sep 2019 02:01:09 AM EDT gpg: using RSA key 647F28654894E3BD457199BE38DBBDC86092693E gpg: Good signature from "Greg Kroah-Hartman