Fix loading for case where we don't overload tcp_usrreqs by calling tcp_drop directly

This commit is contained in:
kmacy 2008-01-27 04:39:38 +00:00
parent f999d9af27
commit 4b5f86e85f

View File

@ -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);