]> Git Repo - linux.git/commit
xfrm: introduce helper for safe determination of mtu
authorHannes Frederic Sowa <[email protected]>
Tue, 13 Aug 2013 02:35:58 +0000 (04:35 +0200)
committerSteffen Klassert <[email protected]>
Wed, 14 Aug 2013 11:09:07 +0000 (13:09 +0200)
commit0ea9d5e3e0e03a63b11392f5613378977dae7eca
treea363333080f9f8647f3f80dc7e736a308c36b7cb
parent628e341f319f1a64a4639088faba952e4ec8f0a8
xfrm: introduce helper for safe determination of mtu

skb->sk socket can be of AF_INET or AF_INET6 address family. Thus we
always have to make sure we a referring to the correct interpretation
of skb->sk.

We only depend on header defines to query the mtu, so we don't introduce
a new dependency to ipv6 by this change.

Cc: Steffen Klassert <[email protected]>
Signed-off-by: Hannes Frederic Sowa <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
include/net/route.h
include/net/xfrm.h
net/ipv4/ip_output.c
net/ipv4/xfrm4_output.c
net/ipv6/xfrm6_output.c
This page took 0.05575 seconds and 4 git commands to generate.