datapath: Allow jumbograms through IPv6 parsing.
authorJesse Gross <jesse@nicira.com>
Wed, 2 Mar 2011 22:51:31 +0000 (14:51 -0800)
committerJesse Gross <jesse@nicira.com>
Thu, 3 Mar 2011 20:13:13 +0000 (12:13 -0800)
commite977ba19df6210a5ccd46dd61151c804eeeafc78
tree56285c09b710b608c8439005d91261df7c3542be
parent513130154d7af9f5b58602aeb00765629479d02e
datapath: Allow jumbograms through IPv6 parsing.

Currently we stop parsing packets that are IPv6 jumbograms.  While
it isn't possible to send such large packets to userspace, it's better
to drop them at that point rather than prematurely in the IPv6 code.
IPv6 does make some use of the payload length field but we can just as
easily use skb->len, which is what all other parsing uses.

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