projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51e18a4
)
rtnetlink: fix typo in GSO max segments
author
Stephen Hemminger
<stephen@networkplumber.org>
Fri, 8 Dec 2017 23:34:13 +0000
(15:34 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 11 Dec 2017 14:45:59 +0000
(09:45 -0500)
Fixes: 46e6b992c250 ("rtnetlink: allow GSO maximums to be set on device creation")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c
patch
|
blob
|
history
diff --git
a/net/core/rtnetlink.c
b/net/core/rtnetlink.c
index 412ebf0b09c6d189b6e105fdc126695e4137b1ea..c688dc564b119acf6850f7354d76a26fd0ab2ed8 100644
(file)
--- a/
net/core/rtnetlink.c
+++ b/
net/core/rtnetlink.c
@@
-2684,7
+2684,7
@@
struct net_device *rtnl_create_link(struct net *net,
if (tb[IFLA_GSO_MAX_SIZE])
netif_set_gso_max_size(dev, nla_get_u32(tb[IFLA_GSO_MAX_SIZE]));
if (tb[IFLA_GSO_MAX_SEGS])
- dev->gso_max_s
ize
= nla_get_u32(tb[IFLA_GSO_MAX_SEGS]);
+ dev->gso_max_s
egs
= nla_get_u32(tb[IFLA_GSO_MAX_SEGS]);
return dev;
}