ip: introduce ip_is_fragment helper inline function
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 22 Jun 2011 03:33:34 +0000 (20:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jun 2011 03:33:34 +0000 (20:33 -0700)
There are enough instances of this:

    iph->frag_off & htons(IP_MF | IP_OFFSET)

that a helper function is probably warranted.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found