projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb18b2a
)
dp-packet: use packet reset function.
author
Pravin B Shelar
<pshelar@ovn.org>
Wed, 18 May 2016 00:32:23 +0000
(17:32 -0700)
committer
Pravin B Shelar
<pshelar@ovn.org>
Thu, 19 May 2016 02:39:18 +0000
(19:39 -0700)
Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Acked-by: Jesse Gross <jesse@kernel.org>
lib/dp-packet.h
patch
|
blob
|
history
diff --git
a/lib/dp-packet.h
b/lib/dp-packet.h
index
201fd14
..
4a8b5ab
100644
(file)
--- a/
lib/dp-packet.h
+++ b/
lib/dp-packet.h
@@
-516,7
+516,7
@@
dp_packet_reset_packet(struct dp_packet *b, int off)
{
dp_packet_set_size(b, dp_packet_size(b) - off);
dp_packet_set_data(b, ((unsigned char *) dp_packet_data(b) + off));
-
b->l2_5_ofs = b->l3_ofs = b->l4_ofs = UINT16_MAX
;
+
dp_packet_reset_offsets(b)
;
}
/* Returns the RSS hash of the packet 'p'. Note that the returned value is