openvswitch: switch from WARN to pr_warn
authorAaron Conole <aconole@redhat.com>
Tue, 25 Oct 2022 10:50:17 +0000 (06:50 -0400)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 27 Oct 2022 10:31:24 +0000 (12:31 +0200)
commitfd954cc1919e35cb92f78671cab6e42d661945a3
treed257cd5ae5d91d1739d222953b02cf6d200c5067
parente2badb4bd33abe13ddc35975bd7f7f8693955a4b
openvswitch: switch from WARN to pr_warn

As noted by Paolo Abeni, pr_warn doesn't generate any splat and can still
preserve the warning to the user that feature downgrade occurred.  We
likely cannot introduce other kinds of checks / enforcement here because
syzbot can generate different genl versions to the datapath.

Reported-by: syzbot+31cde0bef4bbf8ba2d86@syzkaller.appspotmail.com
Fixes: 44da5ae5fbea ("openvswitch: Drop user features if old user space attempted to create datapath")
Cc: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Aaron Conole <aconole@redhat.com>
Acked-by: Ilya Maximets <i.maximets@ovn.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/openvswitch/datapath.c