You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
now ldind(size) and ldabs(size) are implemented as the the same memory as input. Actually, they are different.
These instructions can only be used when interpreter context is a pointer to 'struct sk_buff' and have seven implicit operands. Register R6 is an implicit input that must contain pointer to sk_buff. Register R0 is an implicit output which contains the data fetched from the packet. Registers R1-R5 are scratch registers and must not be used to store the data across BPF_ABS | BPF_LD or BPF_IND | BPF_LD instructions.(https://www.kernel.org/doc/Documentation/networking/filter.txt)
the relationship between input __skb_buff and pkt(ldind, ldabs):
now ldind(size) and ldabs(size) are implemented as the the same memory as input. Actually, they are different.
The text was updated successfully, but these errors were encountered: