diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-03-02 06:59:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-02 22:43:39 +0100 |
commit | e18dbd059319ac8d3fc0a0a23f6a8abcb9a59a31 (patch) | |
tree | 270c4f2a683cc173ce003813483125046ec880b0 /net/ax25/ax25_subr.c | |
parent | ebpf: move CONFIG_BPF_SYSCALL-only function declarations (diff) | |
download | linux-e18dbd059319ac8d3fc0a0a23f6a8abcb9a59a31.tar.xz linux-e18dbd059319ac8d3fc0a0a23f6a8abcb9a59a31.zip |
ax25: In ax25_rebuild_header add missing kfree_skb
In the unlikely (impossible?) event that we attempt to transmit
an ax25 packet over a non-ax25 device free the skb so we don't
leak it.
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-hams@vger.kernel.org
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ax25/ax25_subr.c')
0 files changed, 0 insertions, 0 deletions