#ifndef SOCK_H #define SOCK_H extern int af_socket(int af); extern int pf_socket(void); extern int pf_socket_type(uint32_t type); extern void set_nonblocking(int fd); extern int set_nonblocking_sloppy(int fd); extern int set_reuseaddr(int fd); extern void set_sock_qdisc_bypass(int fd, int verbose); extern void set_sock_prio(int fd, int prio); extern void set_tcp_nodelay(int fd); extern void set_socket_keepalive(int fd); extern int set_ipv6_only(int fd); extern void set_mtu_disc_dont(int fd); extern void set_system_socket_memory(int *vals, size_t len); extern void reset_system_socket_memory(int *vals, size_t len); #endif /* SOCK_H */ cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2016-08-27 16:19:49 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2016-09-02 17:17:52 +0100
commit753246840d012ae34ea80a1d40bc1546c62fb957 (patch)
tree9032a7087e72e8f76d0306b8f8f21ca11afb6117 /Documentation
parent3eab887a55424fc2c27553b7bfe32330df83f7b8 (diff)
drivers/perf: arm_pmu: Fix leak in error path
In case of a IRQ type mismatch in of_pmu_irq_cfg() the device node for interrupt affinity isn't freed. So fix this issue by calling of_node_put(). Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Fixes: fa8ad7889d83 ("arm: perf: factor arm_pmu core out to drivers") Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'Documentation')