[TCP]: tcp probe wraparound handling and other changes
authorStephen Hemminger <shemminger@linux-foundation.org>
Thu, 12 Jul 2007 02:43:52 +0000 (19:43 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 12 Jul 2007 02:45:39 +0000 (19:45 -0700)
commit662ad4f8efd3ba2ed710d36003f968b500e6f123
tree925ca3708b8e4d7c958ef8aec45014caa6f0c550
parent0e06877c6fdbc67b1132be895f995acd1ff30135
[TCP]: tcp probe wraparound handling and other changes

Switch from formatting messages in probe routine and copying with
kfifo, to using a small circular queue of information and formatting
on read.  This avoids wraparound issues with kfifo, and saves one
copy.

Also make sure to state correct license, rather than copying off some
other driver I started with.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_probe.c