summaryrefslogtreecommitdiff
path: root/corking.h
blob: fb4483cbea5fe9faa70276523a3797a1bcfa3d11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef CORKING_H
#define CORKING_H

#include <stdbool.h>

extern void set_tcp_cork(int fd);
extern void set_tcp_uncork(int fd);
extern void set_udp_cork(int fd);
extern void set_udp_uncork(int fd);
extern void set_sock_cork(int fd, bool is_udp);
extern void set_sock_uncork(int fd, bool is_udp);

#endif /* CORKING_H */
class='ctrl'>
authorDavid S. Miller <davem@davemloft.net>2016-10-25 16:23:26 -0700
committerDavid S. Miller <davem@davemloft.net>2016-10-25 16:23:26 -0700
commitb429ae4d5b565a71dfffd759dfcd4f6c093ced94 (patch)
tree7d33dc035adb1fe4244d0f59161491d25fb397e6
parent0fd0ff01d4c3c01e7fe69b762ee1a13236639acc (diff)
sparc64: Fix illegal relative branches in hypervisor patched TLB code.
When we copy code over to patch another piece of code, we can only use PC-relative branches that target code within that piece of code. Such PC-relative branches cannot be made to external symbols because the patch moves the location of the code and thus modifies the relative address of external symbols. Use an absolute jmpl to fix this problem. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat