/* * Intel MIC Platform Software Stack (MPSS) * * Copyright(c) 2013 Intel Corporation. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2, as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * The full GNU General Public License is included in this distribution in * the file called "COPYING". * * Intel MIC User Space Tools. */ #ifndef _MPSSD_H_ #define _MPSSD_H_ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define MICSYSFSDIR "/sys/class/mic" #define LOGFILE_NAME "/var/log/mpssd" #define PAGE_SIZE 4096 struct mic_console_info { pthread_t console_thread; int virtio_console_fd; void *console_dp; }; struct mic_net_info { pthread_t net_thread; int virtio_net_fd; int tap_fd; void *net_dp; }; struct mic_virtblk_info { pthread_t block_thread; int virtio_block_fd; void *block_dp; volatile sig_atomic_t signaled; char *backend_file; int backend; void *backend_addr; long backend_size; }; struct mic_info { int id; char *name; pthread_t config_thread; pthread_t init_thread; pid_t pid; struct mic_console_info mic_console; struct mic_net_info mic_net; struct mic_virtblk_info mic_virtblk; int restart; int boot_on_resume; struct mic_info *next; }; __attribute__((format(printf, 1, 2))) void mpsslog(char *format, ...); char *readsysfs(char *dir, char *entry); int setsysfs(char *dir, char *entry, char *value); #endif 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/ipv4/udp_offload.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/ipv4/udp_offload.c')