A small but very critical bug.
This commit is contained in:
parent
82f3295794
commit
7c84b74185
@ -103,7 +103,7 @@ int udp_senddata ( struct udp_connection *conn ) {
|
|||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
pkb_reserve ( conn->tx_pkb, UDP_MAX_HLEN );
|
pkb_reserve ( conn->tx_pkb, UDP_MAX_HLEN );
|
||||||
conn->udp_op->senddata ( conn, conn->tx_pkb,
|
conn->udp_op->senddata ( conn, conn->tx_pkb->data,
|
||||||
pkb_available ( conn->tx_pkb ) );
|
pkb_available ( conn->tx_pkb ) );
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user