OpenCloudOS / nettrace

nettrace is a eBPF-based tool to trace network packet and diagnose network problem.
Other
326 stars 80 forks source link

skb_parse: check the exist of tcp_sock and inet_connection_sock #69

Closed menglongdong closed 1 year ago

menglongdong commented 1 year ago

The struct tcp_sock or inet_connection_sock may not exist if net is compiled into a module. Therefore, check them before use them.