mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
Fix loading for case where we don't overload tcp_usrreqs by calling tcp_drop directly
This commit is contained in:
parent
a57927a1e6
commit
6edc218ea1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=175712
@ -29,8 +29,11 @@
|
||||
*/
|
||||
#ifndef CXGB_TCP_H_
|
||||
#define CXGB_TCP_H_
|
||||
|
||||
#ifdef TCP_USRREQS_OVERLOAD
|
||||
struct tcpcb *cxgb_tcp_drop(struct tcpcb *tp, int errno);
|
||||
#else
|
||||
#define cxgb_tcp_drop tcp_drop
|
||||
#endif
|
||||
void cxgb_tcp_ctlinput(int cmd, struct sockaddr *sa, void *vip);
|
||||
struct tcpcb *cxgb_tcp_close(struct tcpcb *tp);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user