On 8/9/23 11:25 PM, Ziyang Xuan wrote:
When use bpf_skb_adjust_room() to encapsulate or decapsulate packet, and outer protocol changed, we can update h_proto of ethhdr directly.
This could break some existing bpf programs. e.g what if the existing prog is testing the h_proto after bpf_skb_adjust_room() and expect it hasn't changed yet?