diff options
| author | Jarod Wilson <[email protected]> | 2016-10-20 13:55:19 -0400 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-10-20 14:51:09 -0400 |
| commit | 8b6b4135e4fb2b537f33b811c13f77bee25ca8d3 (patch) | |
| tree | 7dc0a6266b83daab36cbf664bd441d92af5a599f /include/linux | |
| parent | 9c22b4a34eddbaa5b5243c8cd27e31aa36e676e1 (diff) | |
net: use core MTU range checking in WAN drivers
- set min/max_mtu in all hdlc drivers, remove hdlc_change_mtu
- sent max_mtu in lec driver, remove lec_change_mtu
- set min/max_mtu in x25_asy driver
CC: [email protected]
CC: Krzysztof Halasa <[email protected]>
CC: Krzysztof Halasa <[email protected]>
CC: Jan "Yenya" Kasprzak <[email protected]>
CC: Francois Romieu <[email protected]>
CC: Kevin Curtis <[email protected]>
CC: Zhao Qiang <[email protected]>
Signed-off-by: Jarod Wilson <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/hdlc.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/hdlc.h b/include/linux/hdlc.h index e31bcd4c7859..97585d9679f3 100644 --- a/include/linux/hdlc.h +++ b/include/linux/hdlc.h @@ -93,8 +93,6 @@ static __inline__ void debug_frame(const struct sk_buff *skb) int hdlc_open(struct net_device *dev); /* Must be called by hardware driver when HDLC device is being closed */ void hdlc_close(struct net_device *dev); -/* May be used by hardware driver */ -int hdlc_change_mtu(struct net_device *dev, int new_mtu); /* Must be pointed to by hw driver's dev->netdev_ops->ndo_start_xmit */ netdev_tx_t hdlc_start_xmit(struct sk_buff *skb, struct net_device *dev); |