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 files196
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- 9p/
- bluetooth/
- caif/
- iucv/
- netfilter/
- netns/
- nfc/
- phonet/
- sctp/
- tc_act/
- 6lowpan.h
- Space.h
- act_api.h
- addrconf.h
- af_ieee802154.h
- af_rxrpc.h
- af_unix.h
- af_vsock.h
- ah.h
- arp.h
- atmclip.h
- ax25.h
- ax88796.h
- bond_3ad.h
- bond_alb.h
- bond_options.h
- bonding.h
- busy_poll.h
- calipso.h
- cfg80211-wext.h
- cfg80211.h
- cfg802154.h
- checksum.h
- cipso_ipv4.h
- cls_cgroup.h
- codel.h
- codel_impl.h
- codel_qdisc.h
- compat.h
- datalink.h
- dcbevent.h
- dcbnl.h
- devlink.h
- dn.h
- dn_dev.h
- dn_fib.h
- dn_neigh.h
- dn_nsp.h
- dn_route.h
- dsa.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
include/net/timewait_sock.h
Text · 1,136 bytes/*
* NET Generic infrastructure for Network protocols.
*
* Authors: Arnaldo Carvalho de Melo <[email protected]>
*
* 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.
*/
#ifndef _TIMEWAIT_SOCK_H
#define _TIMEWAIT_SOCK_H
#include <linux/slab.h>
#include <linux/bug.h>
#include <net/sock.h>
struct timewait_sock_ops {
struct kmem_cache *twsk_slab;
char *twsk_slab_name;
unsigned int twsk_obj_size;
int (*twsk_unique)(struct sock *sk,
struct sock *sktw, void *twp);
void (*twsk_destructor)(struct sock *sk);
};
static inline int twsk_unique(struct sock *sk, struct sock *sktw, void *twp)
{
if (sk->sk_prot->twsk_prot->twsk_unique != NULL)
return sk->sk_prot->twsk_prot->twsk_unique(sk, sktw, twp);
return 0;
}
static inline void twsk_destructor(struct sock *sk)
{
if (sk->sk_prot->twsk_prot->twsk_destructor != NULL)
sk->sk_prot->twsk_prot->twsk_destructor(sk);
}
#endif /* _TIMEWAIT_SOCK_H */