datapath: Move is_frag out of struct ovs_skb_cb.
authorJesse Gross <jesse@nicira.com>
Sun, 29 Aug 2010 21:28:58 +0000 (14:28 -0700)
committerJesse Gross <jesse@nicira.com>
Wed, 22 Sep 2010 20:43:01 +0000 (13:43 -0700)
commitb7a31ec13d0617868378d39a72beb4c4ffcb7e5c
tree059a75de8889dc511ff32aaeb60ec55b1e0e7b5a
parent3976f6d57b1134c5c3ed054c9da4aa6786fbf5bf
datapath: Move is_frag out of struct ovs_skb_cb.

is_frag is only used for communication between two functions, which
means that it doesn't really need to be in the SKB CB.  This wouldn't
necessarily be a problem except that there are also a number of other
paths that lead to this being uninitialized.  This isn't a problem
now but uninitialized memory seems dangerous and there isn't much
upside.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Reviewed-by: Ben Pfaff <blp@nicira.com>
datapath/datapath.c
datapath/datapath.h
datapath/flow.c
datapath/flow.h