- 博客(4)
- 收藏
- 关注
转载 Linux Kernel: Deadlocks and how to avoid them
Linux Kernel: Deadlocks and how to avoid themDeadlock Problem:Scenario 1: Self deadlock - "re-acquire lock"Say there's a thread A, it acquires lock X1 and then before relenquishing the lock, it re-acq...
2018-05-21 16:08:55 542
原创 RFC 793 为什么要发送reset,什么情况下发送reset
A variety of other cases are possible, all of which are accounted for by the following rules for RST generation and processing. Reset Generation As a general rule, reset (RST) must be sent w...
2018-05-19 11:02:45 459
原创 什么时候去发送 update windos报文
/* Clean up the receive buffer for full frames taken by the user, * then send an ACK if necessary. COPIED is the number of bytes * tcp_recvmsg has given to the user so far, it speeds up the * calcula...
2018-05-18 22:35:01 478
原创 Tcpdump抓包内核代码分析
注册pf_packet协议 .create函数是在PF_PACKET类型socket创建时调用,调用时注册了钩子函数具体看packet_create函数的实现。static const struct net_proto_familypacket_family_ops = { .family= PF_PACKET, .create= packet_creat...
2018-05-08 20:10:41 2076
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人