Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: Fix bindsnoop for kernel v5.6
Commit bf9765145b85 ("sock: Make sk_protocol a 16-bit value") reorganizes the layout of struct sock and make sk_protocol a field of u16. This makes the bindsnoop print `UNKN` for its `PROT` field. See ([0]) and ([1]) for more details. [0]: iovisor#3845 [1]: torvalds/linux@bf9765145b85 Signed-off-by: Hengqi Chen <[email protected]>
- Loading branch information