diff options
author | Cong Wang <[email protected]> | 2013-02-05 16:36:38 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-02-06 15:58:00 -0500 |
commit | 12b0004d1d1e2a9aa667412d479041e403bcafae (patch) | |
tree | 132aecb3e4a78707552a0ddf4d4618734af47efa /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 25060d8f3f2c21daadb4fc1fb0e37ce2c992e30b (diff) |
net: adjust skb_gso_segment() for calling in rx path
skb_gso_segment() is almost always called in tx path,
except for openvswitch. It calls this function when
it receives the packet and tries to queue it to user-space.
In this special case, the ->ip_summed check inside
skb_gso_segment() is no longer true, as ->ip_summed value
has different meanings on rx path.
This patch adjusts skb_gso_segment() so that we can at least
avoid such warnings on checksum.
Cc: Jesse Gross <[email protected]>
Cc: David S. Miller <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions