aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorQiaobin Fu <[email protected]>2018-07-01 15:16:27 -0400
committerDavid S. Miller <[email protected]>2018-07-04 21:27:42 +0900
commite7e3728bd776d1d1450212ad266832f1003f833f (patch)
treec3eddf4c4e158e03dd0ff7435578ab2b8d2bce74 /lib/test_overflow.c
parentf145b0a707ac2abbc40c107b10cb3969b9d7e7ad (diff)
net:sched: add action inheritdsfield to skbedit
The new action inheritdsfield copies the field DS of IPv4 and IPv6 packets into skb->priority. This enables later classification of packets based on the DS field. v5: *Update the drop counter for TC_ACT_SHOT v4: *Not allow setting flags other than the expected ones. *Allow dumping the pure flags. v3: *Use optional flags, so that it won't break old versions of tc. *Allow users to set both SKBEDIT_F_PRIORITY and SKBEDIT_F_INHERITDSFIELD flags. v2: *Fix the style issue *Move the code from skbmod to skbedit Original idea by Jamal Hadi Salim <[email protected]> Signed-off-by: Qiaobin Fu <[email protected]> Reviewed-by: Michel Machado <[email protected]> Acked-by: Jamal Hadi Salim <[email protected]> Reviewed-by: Marcelo Ricardo Leitner <[email protected]> Acked-by: Davide Caratti <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions