LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-08-2018, 08:34 AM   #1
davidpreetham
LQ Newbie
 
Registered: Apr 2016
Posts: 3

Rep: Reputation: Disabled
sk_data_ready callback not able to get fragment data


sk_data_ready callback is given with function. processing skb by acquiring read_lock(&sk->sk_callback_lock). skb->data_len shows fragment size. but when we deference skb shared info structure shinfo = skb_shinfo(skb), shinfo->nr_frags show zero, nr_frags value is zero. Is there anyway we can get data from fragments.
 
Old 05-09-2018, 07:12 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by davidpreetham View Post
sk_data_ready callback is given with function. processing skb by acquiring read_lock(&sk->sk_callback_lock). skb->data_len shows fragment size. but when we deference skb shared info structure shinfo = skb_shinfo(skb), shinfo->nr_frags show zero, nr_frags value is zero. Is there anyway we can get data from fragments.
How can we tell you, since you've given us absolutely ZERO details. You don't say what you're doing, in what language, with what hardware, on what version/distro of Linux, etc. No way of guessing.

Read the "Question Guidelines" link in my posting signature.
 
  


Reply

Tags
device driver, kernel, linux, tcp



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
copy a huge directory fragment by fragment zvivered Linux - Software 5 10-14-2016 09:18 PM
android fragment position trscookie Programming 1 03-03-2014 09:58 PM
Missing UDP fragment acid_kewpie Linux - Networking 11 03-28-2010 10:22 AM
Code fragment explanation please! Completely Clueless Programming 14 10-30-2009 10:15 AM
Does EXT2/# Fragment? sirclown82 General 6 03-13-2007 08:51 PM

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

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