/* * ncpsign_kernel.h * * Arne de Bruijn (arne@knoware.nl), 1997 * */ #ifndef _NCPSIGN_KERNEL_H #define _NCPSIGN_KERNEL_H #ifdef CONFIG_NCPFS_PACKET_SIGNING void __sign_packet(struct ncp_server *server, const char *data, size_t size, __u32 totalsize, void *sign_buff); int sign_verify_reply(struct ncp_server *server, const char *data, size_t size, __u32 totalsize, const void *sign_buff); #endif static inline size_t sign_packet(struct ncp_server *server, const char *data, size_t size, __u32 totalsize, void *sign_buff) { #ifdef CONFIG_NCPFS_PACKET_SIGNING if (server->sign_active) { __sign_packet(server, data, size, totalsize, sign_buff); return 8; } #endif return 0; } #endif c='/cgit.png' alt='cgit logo'/> index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Goutham <sgoutham@cavium.com>2016-09-23 14:42:27 +0530
committerDavid S. Miller <davem@davemloft.net>2016-09-24 08:47:15 -0400
commitb4e28c1fc9c7f3b7508b9a27d7c59a0da7b1f824 (patch)
treecb8ea3d32f8f192daa70e5e179260e3524e11325
parentfaac0ff0a544eed6b8c9375c1104d692e4979540 (diff)
net: thunderx: Fix issue with IRQ namimg
This patch fixes a regression caused by previous commit when irq name exceeds 20 byte array if interface's name size is large. Fixes: e412621394fa ("net: thunderx: Use netdev's name for naming VF's interrupts") Signed-off-by: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat