diff options
author | Juergen Gross <jgross@suse.com> | 2018-12-18 16:06:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-18 21:59:20 -0800 |
commit | d81c5054a5d1d4999c7cdead7636b6cd4af83d36 (patch) | |
tree | a71c61affa5fb01ed77eab347654f4b29f9384b3 /lib/atomic64.c | |
parent | net: phy: Fix the issue that netif always links up after resuming (diff) | |
download | linux-dev-d81c5054a5d1d4999c7cdead7636b6cd4af83d36.tar.xz linux-dev-d81c5054a5d1d4999c7cdead7636b6cd4af83d36.zip |
xen/netfront: tolerate frags with no data
At least old Xen net backends seem to send frags with no real data
sometimes. In case such a fragment happens to occur with the frag limit
already reached the frontend will BUG currently even if this situation
is easily recoverable.
Modify the BUG_ON() condition accordingly.
Tested-by: Dietmar Hahn <dietmar.hahn@ts.fujitsu.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/atomic64.c')
0 files changed, 0 insertions, 0 deletions