Fix loading for case where we don't overload tcp_usrreqs by calling tcp_drop directly
This commit is contained in:
parent
f999d9af27
commit
4b5f86e85f
@ -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