projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'pci-v4.8-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
[cascardo/linux.git]
/
net
/
openvswitch
/
vport-internal_dev.c
diff --git
a/net/openvswitch/vport-internal_dev.c
b/net/openvswitch/vport-internal_dev.c
index
434e04c
..
95c3614
100644
(file)
--- a/
net/openvswitch/vport-internal_dev.c
+++ b/
net/openvswitch/vport-internal_dev.c
@@
-140,7
+140,7
@@
internal_get_stats(struct net_device *dev, struct rtnl_link_stats64 *stats)
static void internal_set_rx_headroom(struct net_device *dev, int new_hr)
{
- dev->needed_headroom = new_hr;
+ dev->needed_headroom = new_hr
< 0 ? 0 : new_hr
;
}
static const struct net_device_ops internal_dev_netdev_ops = {