diff options
author | William Tu <[email protected]> | 2018-05-18 19:41:01 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-05-20 18:31:42 -0400 |
commit | d48f1958ab7d9fb896d86f0241f0dc83dc3a63de (patch) | |
tree | 2bf1ebe8dd0881b30d836443f76f0ca712d6978a /scripts | |
parent | 2c71ab4bb465c79a4687cc2fd5012e470aebdb1f (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 <[email protected]>
Signed-off-by: William Tu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions