/* * OpenRISC vmlinux.lds.S * * Linux architectural port borrowing liberally from similar works of * others. All original copyrights apply as per the original source * declaration. * * Modifications for the OpenRISC architecture: * Copyright (C) 2003 Matjaz Breskvar * Copyright (C) 2010-2011 Jonas Bonn * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. * * ld script for OpenRISC architecture */ /* TODO * - clean up __offset & stuff * - change all 8192 aligment to PAGE !!! * - recheck if all aligments are really needed */ # define LOAD_OFFSET PAGE_OFFSET # define LOAD_BASE PAGE_OFFSET #include #include #include #ifdef __OR1K__ #define __OUTPUT_FORMAT "elf32-or1k" #else #define __OUTPUT_FORMAT "elf32-or32" #endif OUTPUT_FORMAT(__OUTPUT_FORMAT, __OUTPUT_FORMAT, __OUTPUT_FORMAT) jiffies = jiffies_64 + 4; SECTIONS { /* Read-only sections, merged into text segment: */ . = LOAD_BASE ; /* _s_kernel_ro must be page aligned */ . = ALIGN(PAGE_SIZE); _s_kernel_ro = .; .text : AT(ADDR(.text) - LOAD_OFFSET) { _stext = .; TEXT_TEXT SCHED_TEXT CPUIDLE_TEXT LOCK_TEXT KPROBES_TEXT IRQENTRY_TEXT SOFTIRQENTRY_TEXT *(.fixup) *(.text.__*) _etext = .; } /* TODO: Check if fixup and text.__* are really necessary * fixup is definitely necessary */ _sdata = .; /* Page alignment required for RO_DATA_SECTION */ RO_DATA_SECTION(PAGE_SIZE) _e_kernel_ro = .; /* Whatever comes after _e_kernel_ro had better be page-aligend, too */ /* 32 here is cacheline size... recheck this */ RW_DATA_SECTION(32, PAGE_SIZE, PAGE_SIZE) _edata = .; EXCEPTION_TABLE(4) NOTES /* Init code and data */ . = ALIGN(PAGE_SIZE); __init_begin = .; HEAD_TEXT_SECTION /* Page aligned */ INIT_TEXT_SECTION(PAGE_SIZE) /* Align __setup_start on 16 byte boundary */ INIT_DATA_SECTION(16) PERCPU_SECTION(L1_CACHE_BYTES) __init_end = .; . = ALIGN(PAGE_SIZE); .initrd : AT(ADDR(.initrd) - LOAD_OFFSET) { __initrd_start = .; *(.initrd) __initrd_end = .; FILL (0); . = ALIGN (PAGE_SIZE); } __vmlinux_end = .; /* last address of the physical file */ BSS_SECTION(0, 0, 0x20) _end = .; /* Throw in the debugging sections */ STABS_DEBUG DWARF_DEBUG /* Sections to be discarded -- must be last */ DISCARDS } '/cgit.cgi/linux/net-next.git/commit/net?id=0b529f143e8baad441a5aac9ad55ec2434d8fb46'>net/rds/threads.c
diff options
context:
space:
mode:
authorHarsh Jain <harsh@chelsio.com>2017-02-01 21:10:28 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2017-02-03 17:45:48 +0800
commit0b529f143e8baad441a5aac9ad55ec2434d8fb46 (patch)
treefd816e548e12745d4776ad0bd661bec142d3ea06 /net/rds/threads.c
parentc26819900036f5b91608051a0fc7c76f6b4ffc7b (diff)
crypto: algif_aead - Fix kernel panic on list_del
Kernel panics when userspace program try to access AEAD interface. Remove node from Linked List before freeing its memory. Cc: <stable@vger.kernel.org> Signed-off-by: Harsh Jain <harsh@chelsio.com> Reviewed-by: Stephan Müller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/rds/threads.c')