aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBen Hutchings <[email protected]>2012-01-17 07:57:56 +0000
committerDavid S. Miller <[email protected]>2012-01-17 15:49:03 -0500
commit36c92474498ad6cc3afb24b91a67a444d79978fe (patch)
tree6e847f5256b6ef429ca1a8ea85ede022d0c53cbe /tools/perf/util/scripting-engines/trace-event-python.c
parent4144cb2ade46d97b9c41682fd2e9064a59f23a98 (diff)
net: WARN if skb_checksum_help() is called on skb requiring segmentation
skb_checksum_help() has never done anything useful with skbs that require segmentation. Setting skb->ip_summed = CHECKSUM_NONE makes them invalid and provokes a later WARNing in skb_gso_segment(). Passing such an skb to skb_checksum_help() indicates a bug, so we should warn about it immediately. Move the warning from skb_gso_segment() into a shared function, and add gso_type and gso_size to it. Signed-off-by: Ben Hutchings <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions