datapath: Use net_ratelimit in OVS_NLERR
authorJoe Perches <joe@perches.com>
Tue, 4 Feb 2014 01:26:52 +0000 (17:26 -0800)
committerJesse Gross <jesse@nicira.com>
Tue, 4 Feb 2014 01:26:52 +0000 (17:26 -0800)
commit13fe68421792da50e40025c587f790a608431f8f
treebe040b85dfc64a59aa3c0573fa7f70983b35f72d
parent165fb2c146c9dd7020fa6162ab7aad8a0bff217a
datapath: Use net_ratelimit in OVS_NLERR

Each use of pr_<level>_once has a per-site flag.

Some of the OVS_NLERR messages look as if seeing them
multiple times could be useful, so use net_ratelimit()
instead of pr_info_once.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.h