aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorWilliam Tu <u9012063@gmail.com>2018-05-18 19:41:01 -0700
committerDavid S. Miller <davem@davemloft.net>2018-05-20 18:31:42 -0400
commitd48f1958ab7d9fb896d86f0241f0dc83dc3a63de (patch)
tree2bf1ebe8dd0881b30d836443f76f0ca712d6978a /scripts/gdb/linux/utils.py
parent2c71ab4bb465c79a4687cc2fd5012e470aebdb1f (diff)
erspan: set bso bit based on mirrored packet's len
Before the patch, the erspan BSO bit (Bad/Short/Oversized) is not handled. BSO has 4 possible values: 00 --> Good frame with no error, or unknown integrity 11 --> Payload is a Bad Frame with CRC or Alignment Error 01 --> Payload is a Short Frame 10 --> Payload is an Oversized Frame Based the short/oversized definitions in RFC1757, the patch sets the bso bit based on the mirrored packet's size. Reported-by: Xiaoyan Jin <xiaoyanj@vmware.com> Signed-off-by: William Tu <u9012063@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions