LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-15-2014, 06:45 AM   #1
oscareee888
LQ Newbie
 
Registered: Sep 2011
Posts: 11

Rep: Reputation: Disabled
Question Why fragmented on L3 and then linearized on L2


Hi,
Today i read 2.6.18 kernel code,during data transmiting, on L3 kernel use ip_fragments() to div packet to smaller if it bigger than MTU, and soon ,on L2--function dev_queue_xmit() use skb_linearized() gather frag_list data to the first skb linear area .

why kernel does like this, i mean slice and gather so crowded?

Last edited by oscareee888; 12-15-2014 at 07:04 PM.
 
Old 12-18-2014, 02:35 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
Does L2-only pakect need gather? They are different module and at different layer.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Android: What, Me Fragmented? LXer Syndicated Linux News 0 05-17-2012 11:11 PM
why is a new xfs filesystem fragmented? _bsd Linux - Server 0 10-17-2011 12:13 PM
IPtables and fragmented IP packets coolb Linux - Security 2 10-20-2006 12:19 AM
Fragmented Hd fredfmah Linux - Newbie 6 10-10-2003 03:00 PM
iptables (Fragmented packets) qwijibow Linux - Security 2 09-02-2003 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration