]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8efc2054ecfbfefc328afd19dd9dbf55f549b5c
tree3793bb86b081a9c2a6811e1c4c2118484111c25b
parent2a52e0b4b15d8ecfbc69880949038e12b7001729
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