aboutsummaryrefslogtreecommitdiff
path: root/net/tipc
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2017-12-11 07:17:39 -0800
committerDavid S. Miller <[email protected]>2017-12-13 13:13:58 -0500
commitb5476022bbada3764609368f03329ca287528dc8 (patch)
tree93662637d298a843940b42d54ca36326f456db95 /net/tipc
parentb9b312a7a451e9c098921856e7cfbc201120e1a7 (diff)
ipv4: igmp: guard against silly MTU values
IPv4 stack reacts to changes to small MTU, by disabling itself under RTNL. But there is a window where threads not using RTNL can see a wrong device mtu. This can lead to surprises, in igmp code where it is assumed the mtu is suitable. Fix this by reading device mtu once and checking IPv4 minimal MTU. This patch adds missing IPV4_MIN_MTU define, to not abuse ETH_MIN_MTU anymore. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions