click/string: clear dangling pointer on String::deref

In order to make use-after-free of Strings fail more quickly, this change
blows away _r.memo on String::deref(), since we should no longer hold a
reference to it.  Additionally, it asserts that the memo_t's refcount is not
zero when deref is invoked, since the caller should have a valid reference
at that point, and also that the refcount is zero when the memo_t is
deleted.
linuxmodule/FromDevice: replace assert with skb_share_check

It isn't clear that this assertion holds in general, so just Do the Right
Thing instead.  If the check returns NULL, the original SKB has already lost
a ref, so report that it was handled.
Merge pull request #147 from apurvbhartia/aqm-codel

CoDel AQM implementation
elements/CoDel: convert from raw division to int_divide

The compiler was promoting some of the operations here to wider types.  This
meant that a kernel module with CoDel would fail to link against __divdi3.

Instead, use the helper functions in click/integers.hh

Signed-off-by: Derrick Pallas <pallas@meraki.com>
Merge pull request #148 from pallas/fix-codel-linuxmodule

elements/CoDel: convert from raw division to int_divide
NOACK value
Include packet_anno header

Needed for FIRST_TIMESTAMP_ANNO
16-bit txflags
Merge pull request #150 from bcronje/master

Include packet_anno header
Merge pull request #151 from larsbro/master

TXflags is 16 bit
Merge pull request #145 from pallas/fromdevice-skb-share-check

linuxmodule/FromDevice: replace assert with skb_share_check
Merge pull request #144 from pallas/dangling-string-memo

lib/string: clear dangling pointer on String::deref
Merge branch 'master' of git://github.com/kohler/click