Exploit databaseDownload repository ZIP
GH-a4473dcd9930d1ae4c0775adc06b1cfb
satheesh575555/linux-4.19.72_cve-2022-36946
Sources for CVE-2022-36946
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files55
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- Kbuild
- asm-compat.h
- asm-offsets.h
- atomic.h
- cache.h
- cacheflush.h
- checksum.h
- cmpxchg.h
- cpuinfo.h
- cputable.h
- current.h
- delay.h
- dma.h
- elf.h
- entry.h
- exceptions.h
- fixmap.h
- flat.h
- ftrace.h
- futex.h
- hash.h
- highmem.h
- hw_irq.h
- io.h
- irq.h
- irqflags.h
- kgdb.h
- mmu.h
- mmu_context.h
- mmu_context_mm.h
- module.h
- page.h
- pci-bridge.h
- pci.h
- pgalloc.h
- pgtable.h
- processor.h
- ptrace.h
- pvr.h
- registers.h
- seccomp.h
- sections.h
- setup.h
- string.h
- switch_to.h
- syscall.h
- thread_info.h
- timex.h
- tlb.h
- tlbflush.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/microblaze/include/asm/checksum.h
Text · 942 bytes/*
* Copyright (C) 2008 Michal Simek <[email protected]>
* Copyright (C) 2006 Atmark Techno, Inc.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
#ifndef _ASM_MICROBLAZE_CHECKSUM_H
#define _ASM_MICROBLAZE_CHECKSUM_H
/*
* computes the checksum of the TCP/UDP pseudo-header
* returns a 16-bit checksum, already complemented
*/
#define csum_tcpudp_nofold csum_tcpudp_nofold
static inline __wsum
csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len,
__u8 proto, __wsum sum)
{
__asm__("add %0, %0, %1\n\t"
"addc %0, %0, %2\n\t"
"addc %0, %0, %3\n\t"
"addc %0, %0, r0\n\t"
: "+&d" (sum)
: "d" (saddr), "d" (daddr),
#ifdef __MICROBLAZEEL__
"d" ((len + proto) << 8)
#else
"d" (len + proto)
#endif
);
return sum;
}
#include <asm-generic/checksum.h>
#endif /* _ASM_MICROBLAZE_CHECKSUM_H */