LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 07: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 08:04 PM.
 
Old 12-18-2014, 03:35 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,889

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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-18-2012 12:11 AM
why is a new xfs filesystem fragmented? _bsd Linux - Server 0 10-17-2011 01:13 PM
IPtables and fragmented IP packets coolb Linux - Security 2 10-20-2006 01:19 AM
Fragmented Hd fredfmah Linux - Newbie 6 10-10-2003 04:00 PM
iptables (Fragmented packets) qwijibow Linux - Security 2 09-02-2003 07:40 AM

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

All times are GMT -5. The time now is 03:29 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