fou: Do WARN_ON_ONCE in gue_gro_receive for bad proto callbacks
authorTom Herbert <tom@herbertland.com>
Thu, 20 Aug 2015 00:07:34 +0000 (17:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 23 Aug 2015 22:59:56 +0000 (15:59 -0700)
commit270136613bf7306e2b83457628e2b2f6c6be3989
tree3793bb86b081a9c2a6811e1c4c2118484111c25b
parent58ce31cca1ffe057f4744c3f671e3e84606d3d4a
fou: Do WARN_ON_ONCE in gue_gro_receive for bad proto callbacks

Do WARN_ON_ONCE instead of WARN_ON in gue_gro_receive when the offload
callcaks are bad (either don't exist or gro_receive is not specified).

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fou.c