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

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to