Dropping one packet in a coalesced skb
May 2, 2012
4:17 p.m.
Hi, I have LSO enabled on my machine, and hence a single skb can (possibly) be multiple packets on the wire. I am writing a kernel module that tries dropping packets. Is there a way to drop just one 1500B sized TCP packet inside an skb that can be a 64KB TCP segment? This segment has about 40 packets due to LSO, and I don't want to drop all of them; just a few (2--3) packets. Can the effect be achieved if I modify skb_shinfo(skb)->gso_segs, or nr_frags? Thanks, -- Vimal
5217
Age (days ago)
5217
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vimal